1.2 Linux File System Flashcards
List the directories in the Linux file system
- /root
- /bin
- /boot
- /dev
- /etc
- /home
- /lib
- /mnt
- /opt
- /proc
- /root
- /sbin
- /tmp
- /var
- /usr
What is the purpose of the / directory?
It is the root directory and holds all other directories.
What is the purpose of the /bin directory?
It contains executable files necessary for booting the system and performing basic operations.
What is the purpose of the /boot directory?
It contains boot loader files and kernel images necessary for booting the system.
What is the purpose of the /dev directory?
Called the /devices directory, it contains files that represent hardware connected to the system.
What is the purpose of the /etc directory?
It contains system configuration files for the entire system and other applications.
What is the purpose of the /home directory?
It contains the home directories for users and is typically named with the user’s username.
What is the purpose of the /lib directory?
It contains libraries required by executable files in the /bin and /sbin directories.
What is the purpose of the /mnt directory?
It is used as an external mounting point for storage devices (e.g., USB drives).
What is the purpose of the /opt directory?
It holds optional software applications or packages installed by the administrator.
What is the purpose of the /proc directory?
It is a virtual system that provides information about running processes and system resources.
What is the purpose of the /root directory?
It is the home directory for the superuser.
What is the purpose of the /sbin directory?
It contains system binaries necessary for system administration and maintenance.
What is the purpose of the /tmp directory?
It is used to store any temporary files created by a process or user.
What is the purpose of the /usr directory?
It holds user-readable data, documentation, and binaries not required for booting.