File System Hierarchy Standard

Source: Internet
Author: User

File system Hierarchy Standards (Filesystem Hierarchy Standard, abbreviated as FHS). Maintained by the Linux Foundation, the current version is 2.3.


FHS defines the main directories and contents of the Linux system, most Linux distributions comply with the FHS standard, and only a handful of Linux distributions do not use the FHS standard.

FHS directory Structure

/ root of the first hierarchy, root of the entire file system hierarchy. All other directories are derived from the root.

/bin: Basic command Program Files available to all users

/sbin: A tool program for system management use

/boot: Each static file that the bootloader must use, Kernel,initramfs (INITRD), grub, etc.

/Dev: Store special files or device files

/etc: The configuration file of the system program, can only be static

/OPT: Configuration file for/opt/

/x11 : Configuration file for X Window System (version 11)

/SGML: SGML configuration file

/xml: Configuration file for XML

Home directory for normal users

/root : Administrator's home directory

/lib: Provides a shared library for system startup or a utility on the root file system, and provides kernel modules for the kernel

/modules: directory for storing kernel modules

/lib64: 64-bit system-specific path for storing 64-bit shared libraries

/media: mount point for portable devices Cdrom,floppy

/mnt: Temporary mount point for other file systems

/opt: Where to install additional programs

/srv: Data provided by the host for the service

/tmp: Temp directory

/usr: read-only data path for global sharing

/bin: Non-essential executables, available to all users

/sbin: Non-essential system binaries are available to administrators.

/lib : Libraries for binary files in/usr/bin/and/usr/sbin/

/lib64 : 64-bit system-specific paths for 64-bit shared libraries (binary dependent libraries in/usr/bin/and/usr/sbin)

/INCLUDE:C Program header File

/share: Command man page, command comes with documentation

/local: Let the administrator install a directory of third-party programs

/X11R6: Installation location of X-window program

/SRC: Where the program source files are stored

/local: Having an administrator install local applications, also typically used to install third-party programs

/var: a directory that stores frequently changed data

Cache: application Caches data

Lib: Persistent data that is maintained by the program at run

Lock: Lock file

Log: Journal file

Mail: User's e-mail

Run the information for the system running since the last boot.

Spool: Offline files for tasks that are waiting to be processed, such as print queues and unread messages

TMP: Temporary files that can be retained during system restart

/proc : Virtual file system for storing information about the kernel and processes.

/sys : Virtual file system, the main role is to provide a unified model for the management of Linux devices interface



FHS a more detailed introduction to accessible http://www.pathname.com/fhs/


File System Hierarchy Standard

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.