A tree directory structure level layer style, once again in the top of the structure of the root directory is / and then create another directory in this directory.
In the linux world, along with all documents
- Linux has one and only one root directory
- Linux content of each directory store is planned, not misplacing files
- Linux is a form of files to manage our equipment
Specific directory structure:
/ lib
• boot system needed fundamental shared dynamic link library, its role is similar to Windows in the DLL file. Almost all applications need to use these shared libraries.
/ Lost + found
• Under normal circumstances this directory is empty, when the system illegal shutdown, some files stored here.
/ etc
• all systems needed for management configuration files and subdirectories my.conf
/ usr
• This is a very important directory, many applications and user files are placed in this directory, program files directory under similar windows.
the Boot
• some of the core is stored in files that are used when you start Linux, including some connection files and image files
/ SRV
• Service abbreviation of the directory to store some of the data service started to be extracted.
/ SYS
• This is a core linux2.6 great changes. In this directory a 2.6 kernel file system sysfs emerging Installation
/ tmp
• This directory is used to store temporary files
/ dev
• similar to the windows device manager, all the hardware is stored in the form of files.
/ Media
• Linux system will automatically identify some devices, such as U disk, CD-ROM, etc., when the identification, linux
will identified device mounted to this directory.
/ mnt
• The system provides this directory is to enable users to temporarily mount other file systems, we can use an external storage mount / mnt /, and then enter the directory where you can view the content. d: / myshare
/ opt
• This is for the host to install additional software placed in the directory. The mounting ORACLE database can be placed in this directory. The default is empty.
/ usr / local
• This is another directory to host an additional install the software installed. Usually by compiling the source code of the program installed.
/ var
• This directory contains a constantly expanding with something that used to be frequently modified directory on this directory. Including various log files.
/ SELinux [Security-Enhanced Linux]
• SELinux is a security subsystem, it can control the program can only access specific files.