File System Hierarchy Flashcards
what is in the /
directory?
the root of the file system. contains all the files required to boot the os before the other filesystems are mounted as subdirectories of it.
what is in the /bin directory?
contains essential command binaries like (cd, mkdir, bash….).
what is in the /boot directory?
contains the files used to boot the os like (static bootloader, kernel executable…).
what is in the /etc directory?
configuration files for both the system and installed applications.
what is in the /home directory?
each user in the system has a subdirectory here for storage.
what is in the /lib directory?
the shared library files that are required for system boot.
what is in the /media directory?
external removable media devices like usb drives get mounted here.
what is in the /mnt directory?
It is the directory where other filesystems get mounted.
what is in the /opt directory?
third party applications get installed here.
what is in the /root directory?
the home directory of the root user.
what is in the /sbin directory?
the executables for system administration.
what is in the /tmp directory?
used for the storage of temporary files. and gets cleared upon system boot or randomly without giving warnings.
What is in the /usr directory?
contains executables, libraries, man files …..
what is in the /var directory?
contains variable data files like log files, cron files ….