Linux Directories Flashcards
/
root directory
/bin
contains executable programs which are needed in single user mode and to bring the system up or repair it.
/dev
special or device files which refer to physical devices like a hdd, keyboard, monitor, etc
/etc
contains configuration files which are local to the machine. Some larger software packages, like Apache, can have their own subdirectories below /etc like /etc/httpd
/home
Space for users to store files. This can be changed by admins.
/lib
houses shared libraries that are necessary to boot the system and run the commands in the root filesystem
/sbin
like /bin, this directory holds commands needed to boot the system, but which are usually not executed by normal users, root or admin user specific commands go here
/usr
usually mounted from a separate partition. This should contain only sharable, read-only data so it can be mounted by various machines running linux.