Filesystem Hierarchy Standard
The convention that says what each top-level Linux directory, such as /etc, /var and /home, is for.
In more detail
Linux has one directory tree that starts at the root, written /. The standard gives each branch a purpose: configuration in /etc, changing state such as logs in /var, user data in /home, temporary files in /tmp and programs in bin directories. Knowing the purpose lets you find evidence on any host, even when the installed packages differ.
Related terms
- root filesystem — The top of the directory tree, written as a single slash, under which every other file and directory hangs.
- /etc — The directory that holds a Linux system's configuration files.
- /var — The directory for data that changes while the system runs, such as logs, caches, spools and package databases.
- /tmp — The shared directory where any user or program can create temporary files, often cleared on reboot.
- home directory — Your personal directory, such as /home/ada on Linux or /Users/ada on macOS, where your files and settings live.
- bin directory — A directory that holds executable programs, such as /usr/bin for everyday commands and /usr/sbin for administration tools.
Taught in
- The Filesystem Hierarchy — Linux Fundamentals & Systems Administration
- The App In /bin That Vanished: The FHS, Distributions And Licences — CompTIA Linux+ (XK0-006) Exam Prep
- Exam 101 Strategy: Weights, Blanks And Ninety Minutes — LPIC-1 Linux Administrator (101-500 and 102-500) Exam Prep