File hierarchy system Flashcards
/
Root directory of the entire file system hierarchy.
/bin
Essential command binaries (e.g., cat, ls, cp).
/boot
Boot loader files.
/dev
Device files (e.g., /dev/null , /dev/sda1 , /dev/tty).
/etc
Host-specific system-wide configurationfiles.
/home, /root
User home directories, except the root user which is /root.
/lib
Libraries essential for binaries in /bin and /sbin
/media
Mount points for removable media such as DVD
/mnt
Temporarily mounted filesystems (may include network locations).
/opt
Optional software packages.
/proc
Virtual filesystem providing process and kernel information as files. In Linux, corresponds to the procfs mount.
/run
Run-time variable data: Information about the running system since last boot (e.g., currently logged-in users and daemons)
/sbin
Essential system binaries (e.g., fsck, init, route).
/sys
Contains information about devices, drivers, and some kernel features.
/tmp, /var/tmp
Temporary files (see also /var/tmp). /tmp is a common location in which all users can store non-critical files. Note: The sticky bit (i.e., drwxrwxrwt) is set on files to prevent users from deleting other user’s files.
/usr
Read-only user data (e.g., multi-user utilities and applications)
/usr/bin
Non-essential command binaries that are not needed in single user mode.
/usr/lib
Libraries for the binaries in /usr/bin and /usr/sbin.
/usr/local
Local data specific to this host.
/usr/sbin
Non-essential system binaries.
/var
Variable files expected to change during normal system operation (e.g., logs, spool files, and temporary e
/var/log
Log files (e.g., auth.log, syslog, apacahe.log, etc.).
/var/mail
Mailbox files (previously located in the deprecated /var/spool/mail directory).
/var/spool
Spool for tasks waiting to be processed (e.g. print queues, outgoing mail queues).