Introduction to FHS File system usage in Linux

Source: Internet
Author: User


FHS File System

/bin: Executable program storage, binary files
/sbin: Commands that only administrators can execute
The program the operating system needs to run itself when it starts/sbin,/bin
Other Locations:
/usr/bin
/usr/sbin
/usr/local/bin
/usr/local/sbin
Other functions outside the OS itself some service execution procedures, in/usr/bin and/usr/sbin
Third-party programs,/usr/local/bin and/sbin

/boot: Storing system boot files, kernels, Ramfs files, Bootloader,grup, etc.
/dev: Device file storage directory
/etc: Configuration file storage directory
/etc/sysconfig: System Application Profile
/ETC/INIT.D: System service script, changed on CENTOS7
/home: Normal User default home directory, and directory with the same name as user name
/root: Administrator home directory (Administrator on Unix has no home directory and no login allowed)
/ Lib64,/lib:lib is a 32-bit system library file location, lib64 is the lib64 library file location, and if it is a 32-bit system there is no lib64 directory
Application Library:
If the application is installed in/usr/local/the library file will be in the/usr/ Local creates a Lib, but the system does not come here to find the library file
If the application is installed under/usr/bin,/bin,/sbin, it is placed under/lib
/lost+found: The newly formatted partition will produce a
/ Media: Medium, dedicated mount location, usually used to hang on portable devices, if disc, USB
/mnt: Private hanging in position, usually used to mount additional storage devices such as hard disk
/mics: Alternate directory
/net: Not standard directory
/OPT: Alternative directories, usually used to install Third-party software, are installed under/OPT in the early days when there is no/usr/local
/proc: Pseudo file systems, mapping of kernel parameters that will not be mapped until they are started! The file shown in proc is not actually a file. (Kernel parameters and kernel state parameters, the kernel maps parameters to a file, and the value of the file is the value that the parameter can assign.
/sys: Pseudo file system, system-level peripheral Hardware Device attribute-related parameters, also shown as file
/srv: Provide data storage location for services
/tmp: Temporary file system, default file for a certain time, more than delete
/usr:shared shared, ReadOnly read-only,
/usr/include: Header file, contains other and development related
/var: frequently changing files
/var /log
/var/lock
/var/run
/var/cache

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.