whatis filesystem-hierarchy-standard

Filesystem Hierarchy Standard (FHS)

Also known as: FHS, directory structure

The standard that defines what belongs in Linux top-level directories like /etc, /usr, /var, /home, and /tmp.

What Is the Linux Filesystem Hierarchy Standard?

Linux has a single directory tree starting at /, and the FHS gives each branch a job: /etc for configuration, /usr for installed software, /var for changing data like logs and caches, /home for users, /tmp for scratch files.

Knowing the layout tells you where to look for things. Logs are under /var/log, service configs under /etc, locally built software under /usr/local, and third-party bundles often under /opt.

Example

ls /
# bin boot dev etc home lib opt proc root run srv sys tmp usr var