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.
File | Description |
---|---|
/bin/ls |
/dev
Device files are stored in /dev and interact with the kernel.
File | Description |
---|---|
/dev/random | provides random data from the Linux kernel random number generator. |
/dev/urandom | provides 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.
File | Description |
---|---|
/etc/audit/audit.conf | |
/etc/audit/audit.rules | |
/etc/crontab | |
/etc/fstab | |
/etc/group | |
/etc/gshadow | |
/etc/hostname | |
/etc/hosts | configures 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.conf | configures 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.conf | Defines 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_config | 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 | Main 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.
File | Description |
---|---|
/proc/cpuinfo | |
/proc/net/netstat | |
/proc/net/sctp/snmp | |
/proc/net/snmp | |
/proc/net/snmp6 | |
/proc/uptime |
Articles for Files
The /dev/random file is a special character file on Linux that provides random data from the Linux kernel random number generator.
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.
The configuration file /etc/ssh/ssh_config contains settings related to the OpenSSH client. Learn more about this file its configuration.
The configuration file /etc/ssh/sshd_config contains settings related to the OpenSSH server daemon. Learn more about this file its configuration.