Chapter 3 - Essential File Management Tools Flashcards
What defines the layout of the linux file system?
Filesystem Hierarchy Standard
what does “/boot” contain?
Contains all files and directories that are needed to boot the Linux kernel.
what does “/dev” contain?
Contains device files that are used for accessing physical devices. This directory is essential during boot.
what does “/etc” contain?
Contains configuration files that are used by programs and services on your server. This directory is essential during boot.
what does “/home” contain?
Used for local user home directories.
what does “/mnt”, “/media” contain?
Contain directories that are used for mounting devices in the file system tree.
what does “/opt” contain?
Used for optional packages that may be installed on your server
what does “/proc” contain?
Used by the proc file system. This is a file system structure that gives access to kernel information.
what does “/root” contain?
The home directory of the root user
what does “/run” contain?
Contains process and user-specific information that has been created since the last boot.
what does “/srv” contain?
May be used for data by services like NFS, FTP, and HTTP.
what does “/sys” contain?
Used as an interface to different hardware devices that is managed by the Linux kernel and associated processes.
what does “/tmp” contain?
Contains temporary files that may be deleted without any warning during boot.
what does “/usr” contain?
Contains subdirectories with program files, libraries for these program files, and documentation about them.
what does “/var” contain?
Contains files that may change in size dynamically, such as log files, mail boxes, and spool files.
What are some common directories that are mounted on separate dedicated devices?
/var
/home
/usr
/boot