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.