Linux Directory Structure Flashcards
/bin
Binaries, eg: executable code written in binary
Root
/ (Top level directory)
/etc
System configuration files that determine how the the OS will run. eg: a file that says text or graphical mode on start up
/home
home directory, where user directories exist
/opt
3rd party software or optional files
tmp
temporary storage, closed on boot
/usr
User related programs
/var
variable data that changes often, such as log files
/boot
Where the files for startup live
/cgroup
Control Groups hierarchy
/dev
Deivces files for controlling devices associated with the computer
/export
Shared file systems
/lib
System Libraries
/lib64
System libraries, 64 bits
/lost+found
Used by the file system to store recovered files after a file system check
/media
used for content from external devices (USBs and CD-Roms)
/mnt
used to mount external file systems
/proc
provides info about running processes
/root
the home directory for the root account
/sbin
system administration binaries
/selinux
Used to display information about SELinux
/srv
for data served by a linux server
usr/local
Where software not bundled with linux are installed (except when they are installed in opt, or just in the local directly)
/opt/companyname/productName
when a company installs multiple products inside one company name folder