Explain the purpose of the main top-level directories in the FHS.
BeginnerConceptFilesystem Hierarchy, Inodes & Links
Answer
/etchost-specific configuration/varvariable data: logs, spool, caches, databases (/var/log,/var/lib)/usrread-only programs and libraries (/usr/bin,/usr/lib)/optself-contained third-party software/home,/rootuser home directories/tmptemporary files (often tmpfs, cleared on boot)/devdevice nodes,/procand/syskernel virtual filesystems/runruntime state (PID files, sockets), tmpfs