Files

On Linux systems almost everything is a file. This page consists of a collection of any files that is referenced within the articles.

/bin

One of primary locations on Linux is /bin and contains very common system administration utilities.

FileDescription
/bin/ls

/dev

Device files are stored in /dev and interact with the kernel.

FileDescription
/dev/randomprovides random data from the Linux kernel random number generator.
/dev/urandomprovides random data like /dev/random data. It is the preferred source to retrieve such data from the Linux kernel random number generator.

/etc

The directory that contains configuration files is /etc.

FileDescription
/etc/audit/audit.conf
/etc/audit/audit.rules
/etc/crontab
/etc/fstab
/etc/group
/etc/gshadow
/etc/hostname
/etc/hostsconfigures the mapping between the specified hostnames and IP addresses, and is only available to the local system
/etc/lighttpd/lighttpd.conf
/etc/login.defs
/etc/motd
/etc/needrestart/needrestart.conf
/etc/network
/etc/network/interfaces
/etc/nsswitch.confconfigures the name service switch functionality to Linux knows how to lookup entries such as services, users, domain name resolution, and protocols.
/etc/pam.d/common-password
/etc/pam.d/common-session
/etc/pam.d/system-auth
/etc/passwd
/etc/profile
/etc/resolv.confDefines DNS resolvers
/etc/resolvconf.conf
/etc/security/limits.conf
/etc/security/pwquality.conf
/etc/security/pwsecurity.conf
/etc/shadow
/etc/ssh_config
/etc/ssh/ssh_configThe configuration file /etc/ssh/ssh_config contains settings related to the OpenSSH client. Learn more about this file its configuration.
/etc/ssh/sshd_configMain configuration file for the OpenSSH daemon
/etc/sysconfig/network
/etc/sysctl.conf
/etc/systemd/resolved.conf

/proc

The /proc virtual filesystem (procfs) provides a way to configure the Linux kernel or share information.

FileDescription
/proc/cpuinfo
/proc/net/netstat
/proc/net/sctp/snmp
/proc/net/snmp
/proc/net/snmp6
/proc/uptime

Articles for Files

/dev/random: providing random numbers

The /dev/random file is a special character file on Linux that provides random data from the Linux kernel random number generator.

/etc/resolv.conf: nameserver configuration

The /etc/resolv.conf file is usually a regular file or a symbolic link to a regular file, defining which servers are used for DNS requests.

/etc/ssh/ssh_config: SSH client configuration

The configuration file /etc/ssh/ssh_config contains settings related to the OpenSSH client. Learn more about this file its configuration.

/etc/ssh/sshd_config: SSH daemon configuration

The configuration file /etc/ssh/sshd_config contains settings related to the OpenSSH server daemon. Learn more about this file its configuration.