Directory structure

The root directory (/) is the top-level directory in the file system hierarchy. It is the parent directory for all other directories on the system. Here are some common directories found within the root directory:

Root directoryDescription
/binbinary: conatins binaries essential to the OS
/etcetcetera: contains configuration files for the system and installed applications
/sbinsystem binary: binary accessible only from the sudo user
/usruser directory, contains files (binaries/libraries/shared files/manuals) non essential to the OS
/usr/localcontains manually managed files, hence without using a package manager
/bootcontains files needed for booting the system, such as the kernel and boot loader.
/devdevice files, contains device files, which represent hardware devices on the system
/optoptional
/tmptemporary files, contains homonymous files
/varvariable, contains log and system generated file
/liblibrary, contains essential library files.
/procsvirtual folder created by the kernel to take trace of the running process