1/16
This set of flashcards covers essential concepts from the lecture on the Linux directory structure, focusing on commands, directories, file types, and their functions within the Linux operating system.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
What is the Linux Foundation's Filesystem Hierarchy Standard (FHS)?
It defines a standard set of directories, subdirectories, and files that every Linux system should have, increasing compatibility between systems.
What does the command 'pwd' stand for?
'pwd' stands for 'print working directory', displaying the current directory path in the command line.
What is the significance of the root directory in Linux?
The root directory, denoted as '/', is the topmost level of the Linux directory structure from which all other directories branch off.
What are the three types of Linux files?
What does the command 'ls -al' do?
Lists all files and directories, including hidden ones, in long format with details such as permissions, ownership, and file sizes.
What color represents directories in Linux?
Blue represents directories.
What is stored in the /etc directory?
Configuration files used by all system programs, which control the behavior of the operating system and applications.
What is the /bin directory used for?
It stores binary executables for basic commands that any user can launch.
What is the difference between the /sbin and /bin directories?
/sbin stores system binaries that can only be run by a privileged user, while /bin stores binaries that any user can execute.
What purpose does the /var directory serve?
The /var directory contains variable files, such as system logs and temporary files generated by applications.
Why should hidden files in Linux begin with a period (.)?
Files that begin with a period are treated as hidden to prevent them from cluttering directory listings.
What does the command 'tree -L 2' display?
A recursive directory listing that shows files and directories up to two levels deep.
What command should a user run to check logged in user history in Linux?
They can check the history in /var/log/wtmp.
What happens to files in the /tmp directory during a reboot?
The contents of /tmp are deleted upon reboot.
What is the use of the /boot directory?
It contains all files needed to boot the Linux operating system, including the kernel and bootloader files.
What is indicated by a file name preceded by a '.' in Linux?
It indicates that the file is hidden.
What role does the /dev directory play in Linux?
/dev contains special files that represent devices used by the system.