Filesystem Hierarchy Standard Articles
This standard consists of a set of requirements and guidelines for file and directory placement under UNIX-like operating systems. The guidelines are intended to support interoperability of applications, system administration tools, development tools, and scripts as well as greater uniformity of documentation for these systems.
-
/etc : Host-specific system configuration
- Purpose
- Requirements
- Specific Options
- /etc/opt : Configuration files for /opt
- /etc/X11 : Configuration for the X Window System (optional)
- /etc/sgml : Configuration files for SGML (optional)
- /etc/xml : Configuration files for XML (optional)
-
/usr/lib<qual> : Alternate format libraries (optional)
- Purpose
- /usr/local : Local hierarchy
- /usr/local/share
-
/usr/share : Architecture-independent data
- Purpose
- Requirements
- Specific Options
- /usr/share/dict : Word lists (optional)
- /usr/share/man : Manual pages
- /usr/share/misc : Miscellaneous architecture-independent data
- /usr/share/sgml : SGML data (optional)
- /usr/share/xml : XML data (optional)
-
/var/cache : Application cache data
- Purpose
- Specific Options
- /var/cache/fonts : Locally-generated fonts (optional)
- /var/cache/man : Locally-formatted manual pages (optional)
-
/var/lib : Variable state information
- Purpose
- Requirements
- Specific Options
- /var/lib/<editor> : Editor backup files and state (optional)
- /var/lib/hwclock : State directory for hwclock (optional)
- /var/lib/misc : Miscellaneous variable data
-
/var/spool : Application spool data
- Purpose
- Specific Options
- /var/spool/lpd : Line-printer daemon print queues (optional)
- /var/spool/rwho : Rwhod files (optional)
-
Linux
- / : Root directory
- /bin : Essential user command binaries (for use by all users)
- /dev : Devices and special files
- /etc : Host-specific system configuration
- /lib64 and /lib32 : 64/32-bit libraries (architecture dependent)
- /proc : Kernel and process information virtual filesystem
- /sbin : Essential system binaries
- /usr/include : Header files included by C programs
- /usr/src : Source code
- /var/spool/cron : cron and at jobs