5 LInux system directory structure

 

ls / display the file in the root directory

/ Bin bin Binary is an abbreviation, this directory for the frequently used commands

/ Boot storage is used by some of the core file when you start Linux, including some connection files and image files

/ Dev is Device (device) abbreviation is stored in the directory Linux external device, the access device in the manner of Linux and accessed files are the same

/ Etc used to store all system management configuration files and subdirectories needed

/ Home user's home directory, in Linux, each user has their own directory, the directory name is based on the general user account named

/ Lib kept the system the most basic dynamic link shared library that functions similar to Windows in the Dll files, almost all applications will need to use these shared libraries

/ Lost + found directory under normal circumstances is empty, when the system is shut down illegal, some files will be stored

/ Media Linux system will automatically recognize some of the equipment, eg: U disk, CD-ROM, etc., to identify the device will be mounted to this directory

/ Mnt system provides this directory is to enable users to temporarily mount other file systems, CD-ROM can be mounted on / mnt, and then enter the directory you can view the contents of the CD-ROM drive

/ Opt This is additional to the host software installation directory stored. The default is empty

/ Proc a virtual directory, system memory mapping, direct access to system information through the directory. Contents of this directory on your hard disk but not in memory, you can modify some files to hide inside the purpose of

/ Root directory of the system administrator, root authority's user's home directory

/ Sbin s is the Super User, storage hypervisor is used by system administrators

/ Selinux Redhat / CentOS specific directory, Selinux a security mechanism, similar to the windows firewall, but this mechanism is more complex, this directory is stored selinux-related documents

/ Srv store some data to be extracted after the service starts

/ Sys linux2.6 a big change in the core, sysfs file system integrates information on the following three kinds of file systems: for proc file system processes information for devfs file system devices for pseudo-terminal file system devpts

The file system is a visual reflection of kernel device tree, when the kernel object is created, the corresponding files and directories are created internally and objects in the system

 

/ Tmp This directory is used to store temporary files

/ Usr This is a very important directory, many files users of the application are placed in similar program under the Windows directory

Application / usr / bin system used by a user

/ Usr / sbin field and a higher level of user to use the system daemons

/ Usr / src kernel source disposed default directory

/ Var kept the continued expansion of the things that often these habits will be modified directory on this directory, including log files

/ Run · information since a temporary file system, storage system startup, when the system is restarted, the files in this directory should be deleted or cleared. If there is / var / run directory on the system, we should let him point to run

 

·

Guess you like

Origin www.cnblogs.com/heixiang/p/10983842.html