CentOS directory Structure

Source: Internet
Author: User

The CentOS catalog can be broadly divided into four categories: Management class, User class, Application class, information class file directory.

Management class Directory:
/boot Linux kernel and the file directory required by the boot system program
/bin store standard Linux tools, enter LS in the terminal and the system will go to that directory to see if the command program exists.
/sbin most of the commands involved in system Management, is the super-user root executable command storage, ordinary users do not have permission to execute the command under this directory
/var The contents of this directory are frequently changed to store files that are often modified, such as logs, data files, mailboxes, etc.
/etc main Storage System configuration files
/dev primarily stores equipment-related files
/mnt This directory is typically used to store mounted storage devices, such as CDROM directory. You can see the definition of/etc/fstab.

User class Directory:
/root System Administrator Directory
/home primarily stores personal data

Application class Directory:
/lib This directory is used to store system dynamic link shared libraries, almost all applications will use the shared library in this directory
/tmp temp directory, some Linux will clean up regularly
/usr stores some additional tools that are not suitable for use in/bin or/etc directories, such as personal installed programs or tools
/usr/local mainly store those manually installed software,
/usr/bin for storing programs
/usr/share for storing some shared data
/usr/lib store Some library files that cannot be run directly but are necessary for many programs to run
/OPT main storage Optional program, directly remove the program does not affect the system's settings. The program installed in the/OPT directory, all of its data, library files, etc. are placed under the same directory

Information class Directory:
/lost+found in the ext2 or ext3 file system, when the system crashes unexpectedly or the machine shuts down unexpectedly, some file fragments are placed here. However, some files are temporarily stored here when there is a sudden power outage or an abnormal shutdown.
/proc operating system runtime, process information and kernel information (such as CPU, hard disk partition, memory information, etc.) are stored here

Other important directories:
/ETC/RC.D put the boot and shutdown scripts.
/ETC/RC.D/INIT.D placing the startup script
/ETC/XINETD.D configuration xinetd.conf can be configured to start other additional services.
/usr/include some distribution suite header files are placed in the directory, which may be used when installing the program.
Library of/usr/lib Kits
/usr/local The default software installation directory.
/usr/share/doc Placement directory for system documentation
/usr/share/man Program description File placement Directory
/USR/SRC Kernel Source code directory
/USR/X11R6 x's Storage directory

CentOS directory Structure

Related Article

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.