Linux Directory Hierarchy Essentials Flashcards
What are the nine subdirectories of root?
bin dev etc usr home lib sbin tmp var
What are the two subdirectories of var?
log
tmp
What are the six subdirectories of usr?
bin man lib local sbin share
bin contains ready-to-run programs (also known as ______).
executables
bin contains most of the ________.
basic Unix commands such as ls and cp
Most of the programs in bin are in _____, having been created by a ____, but some are shell scripts in modern systems.
binary format
C compiler
dev contains ______.
device files
etc is pronounced _____
EHT-see
etc is the _______
core system configuration directory
etc contains ______
the user password, boot, device, networking, and other set up files
home holds _______ for regular users
personal directories
An abbreviation for library, _____________.
lib holds files containing code that executables can use.
sbin is the place for _____. Programs in sbin directories relate to _____ so regular users usuallly do not have sbin components in their command paths.
system executables
system management
tmp is a storage area for _____.
smaller, temporary files that you don’t care much about.
Most distributions clear ____ when the machine boots and some even remove its old files periodically.
tmp
Although pronounced “user,” this subdirectory has _____.
no user files
Usr contains a ______, including the _____ of the ____.
large directory hierarchy
bulk
Linux system
var is the ____, where programs ____.
variable subdirectory
record runtime information
What’s in var?
System logging, user tracking, caches, and other files that system programs create and manage
boot contains ____ files
kernel boot loader
media is a ____ for removable media such as flash drives that is found in many distributions
base attachment point
/include holds ____
header files used by the C compiler
info contains
GNU info manuals
local is where ___.
administrators can install their own software
man contains
manual pages
share contains
files that should work on other kinds of Unix machines with no loss of functionality.
A true share directory is becoming rare, because _____.
there are no space issues on modern discs.
On Linux systems, the kernel is normally in _____ or _____.
/vmlinuz
/boot/vmlinuz