linux directories Flashcards
What is the purpose of the /bin directory in Linux?
/bin directory: Contains essential binary executable files, such as system commands that are required for booting and repairing the system.
What is stored in the /etc directory?
/etc directory: Contains configuration files for the system and various applications installed on the system.
What does the /home directory contain in Linux?
/home directory: Stores user home directories, where each user has their own subdirectory for personal files and settings.
What is the purpose of the /var directory?
/var directory: Contains variable data files, such as logs, spool files, and temporary files that may change frequently during system operation.
What does the /tmp directory store?
/tmp directory: Stores temporary files that are often created by programs and scripts. These files are typically deleted upon system reboot.
Explain the significance of the /usr directory in Linux.
/usr directory: Contains user-related programs, libraries, documentation, and other resources that are not required for the basic system boot process.
What is the purpose of the /dev directory in Linux?
/dev directory: Contains device files, representing hardware devices and system resources, which allow interaction with the kernel and devices.
What is stored in the /proc directory?
/proc directory: Contains virtual files that represent system and process information. It provides a way to interact with the kernel and view system and process details.
What does the /sbin directory contain?
/sbin directory: Contains system binaries, which are essential for system administration tasks and are typically used by the root user.
What is the purpose of the /opt directory in Linux?
/opt directory: Contains optional software packages, typically those installed by the system administrator rather than the operating system, following a self-contained directory structure.