Understading Linux File System Flashcards
What is always the first directory in Linux?
The root directory
What is the purpose of the /bin directory?
It contains binaries
What is the purpose of the /sbin directory?
It contains system administrator binaries
What is the purpose of the /var directory?
A place for files that may change often
What is the purpose of the /usr directory?
It contains user binaries
What is the purpose of the /opt directory?
It contains software that were installed without the package manager
What is the purpose of the /etc directory?
It contains system configuration files
What is the purpose of the /dev directory?
It contains files that represent hardware
What is the purpose of the /lib directory?
It contains essential binaries for basic operations and booting
What is the purpose of the /tmp, /var/tmp directory?
It contains temporary files
What is a mount-point?
It is a partition that has been assigned to a specific directory
What is the purpose of the lost+found directory?
Its purpose is to serve as a repository for recovering orphaned or corrupted files with system checks
What is the representation of the block device files with ls command?
b
What is the representation of the character device files with ls command?
c
What is the representation of the named pipe files with ls command?
p