Linux directory Configuration

Source: Internet
Author: User


basis of a Linux directory configuration--FHS

FHS defines the two layer specification, the first layer is,/below the directory should be put what file data, such as/etc should be placed in the settings file,/bin and/sbin should be placed executable files and so on.

The second tier is defined for sub-directories of the/USR and/var directories. For example,/var/log places system login files,/usr/share places shared data, and so on.

Since FHS is only the file data that defines the contents of the top (/) and sub-tiers (/usr,/var) should be placed, it can be configured with the developer at the other subdirectory level.

In addition, in Linux, all files and directories are started by the root directory. That is the source of all directories and files. Then one more branch down, a bit like a tree. Therefore, we also call this directory configuration as: "Directory Tree".

in fact, FHS is based on the past experience has been continuously revised, FHS based on the use of the file system and whether or not to allow users to change randomly, and the directory is defined as four interactive forms, in the form of a bit like the bottom:

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/86/AA/wKioL1fG0ErB4iYtAAAlAJ376xo065.png "title=" Qq20160831204023.png "alt=" Wkiol1fg0erb4iytaaalaj376xo065.png "/>


two Catalog tree (directory trees)

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/86/AA/wKiom1fG0W-hIaWKAAB-Z56VJ90452.jpg "title=" 130105090030541 (1). jpg "alt=" wkiom1fg0w-hiawkaab-z56vj90452.jpg "/>

Figure 1


650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/86/AA/wKioL1fG0MHCq0JYAAD_MJyV2GM235.png "title=" linux_ Dir_structure.png "alt=" Wkiol1fg0mhcq0jyaad_mjyv2gm235.png "/>

Figure 2



650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/86/AA/wKioL1fG0QfQSwISAAE_c214elM244.png "title=" 02091705-6591158994d24e2abb9f5a228fa58fa3.png "alt=" Wkiol1fg0qfqswisaae_c214elm244.png "/>

Figure 3

If you can't read English, there is a Chinese translation here.
/bin Binary executable commands

/ DevEquipment Special Files
/ etcsystem administration and configuration Files
/ETC/RC.Dstartup configuration files and scripts (rhel7.0/centos7.0 used before)
/Home

This article from the "Technology life, Simple not simple" blog, please be sure to keep this source http://willis.blog.51cto.com/11907152/1844945

Linux directory Configuration

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.