Linux Filesystem Hierarchy Standard (FHS) is the standard for file management in most Unix/Linux systems. It is updated and maintained by the Linux corporation. The most recent version is FHS 3.0 released in June 2015. It describes the permissions and locations for various file types.
The FHS is a very detailed, highly documented standard. Below is the table explaining the FHS:
|Root directory. Only the root user can manipulate this directory
|Contains important binary files for all users.
|Contains boot loader files.
|Contains device files attached to the system.
|Contains essential configuration files such as start-up/shutdown scripts for applications.
|Contains users’ files such as Downloads,Images,Videos,etc.
|Contains libraries required for binaries in /bin and /sbin directories.
|Contains files for mounted devices such as CD-ROM.
|Contains files for temporarily mounted file systems.
|Contains files for optional software.
|Contains essential system binary files.
|Contains server files.
|Contains temporary files which may be erased after reboot.
|Contains files that are read-only in nature.
|Contains variable files. The contents of these files are expected to change during normal system operation.
That’s all in this article! If you have any questions and/or suggestions, do write to us or comment below.