This is a short explanation of the Linux file system Hierarchy. In a Linux system, all files are stored on file systems. A file-system hierarchy is the organization of these files into a single inverted tree of directories. The tree of directories is said to be inverted since its root at the top of the hierarchy, and the branches of directories and sub-directories stretch below the root.
Linux File system Hierarchy |
All files on a Linux system are stored on file systems which are organized into a single inverted tree of directories know as a file system hierarchy.
The directory / is the root directory at the top of the file system hierarchy.
- /bin : bin is sub directory of the root directory. The contains the executable program.
- /boot : boot is sub directory of the root directory. The contains the kernel image files and initrd file.
- /dev : dev is sub directory of the root directory. This directory contains special or device files information’s.
- /etc : etc is sub directory of the root directory. This directory contains system configuration files.
- /home : home is sub directory of the root directory. This user home directory
- /root : root is root home directory.
- /run : run is sub directory of the root directory. This directory contains application run time date.
- /usr : Contains installed software programs and libraries.
- /usr/bin : This directory contains regular user commands and utilities.
- /usr/sbin : This directory contains system administration binaries file for root use.
- /tmp : tmp is sub directory of the root directory and contains temporary files.
- /var : is sub directory of the root directory This directory contains logs file.
ALSO WATCH THIS “Linux File system Hierarchy” TUTORIAL VIDEO FREE on OUR YOUTUBE CHANNEL.