Purpose and meaning of each directory under the root directory of Linux

General linux system root directory has the following folders:

./bin  all commands important binary (binary) applications, including binary files, system users are in this directory.
./boot  Start (Boot) profile, comprising a bootstrap loader file
./dev  apparatus (device) contains the file file device, comprising a terminal device, USB or any device connected to the system
./etc  profile, startup script, etc. (etc) contains all the procedures required configuration file also contains a start / stop-start single program and close the shell script
./home  local user's home (home) directory of all users with home directory to store their personal files
. / lib system libraries (libraries) file that contains the binary file support library files located under the / bin and / sbin.
./lost+found  provided in the root (/) directory to find a lost + (lost + found) the system must be able to view the contents of the current directory in the root user.
./media  mount can be used for removable media (media), such as a CD, digital cameras and other mobile devices can be mounted temporary directory
./mnt  mount (mounted) file system temporary installation directory, the system administrator can mount the file system
./opt  to providing an optional (optional) application installation directory contains from various manufacturers add-on applications, additional applications should be installed in / opt or / opt subdirectories
./proc Special dynamic directory to maintain system information and status, including the current running processes (processes) message. The system contains information about the process, it is a virtual file system that contains information about running processes and system resources exist in the form of text messages
./root  root (root) user's home folder, read as "Slash-root"
. / sbin  important system binaries (systembinaries) files are also included in the binary executable file. , Maintain the system linux command in this directory are usually used by the system administrator
./sys  system (system) files
./tmp  provisional (temporary) file system and contains the user-created temporary files. When the system is restarted, the files in this directory are deleted
./usr  contain the vast majority of all users (users) can access applications and files containing binary files, library files. Documentation and source code program two
./var  constantly changing (variable) file, such as a log or database. Representatives variable file. You can find the contents of the file may grow in this directory

 

Guess you like

Origin www.cnblogs.com/panchanggui/p/12037230.html