This section provides a detailed description of the root directory under Linux.
/bin: Executable file user command
/boot: System startup related files
/dev: Device files
Block devices: Random access
Character Devices: Linear access, per-character display and mouse are linear access
Device number: Main device number (major) and secondary device number (minor)
/etc: Most of the system administration and configuration files are plain text files
/etc/passwd user account information.
/etc/shadow Secure user account information.
/etc/group group account information.
/etc/gshadow Security group account information.
/etc/default/useradd The default value for account creation.
/etc/skel/ The directory that contains the default files.
/etc/login.defsshadow Cipher suite configuration.
/home directory, home directory default is/home/username can be represented by ~username
/lib: library file
/lib: Kernel module files
Static library . A
Dynamic library . dll.
/lost+found: This directory is usually empty, the system is not normal shutdown and left "homeless" file is here
/media: mount point directory is generally a directory of mobile devices
/MNT: Mount point directory Additional temporary file system
/OPT: Optional Directory The installation directory of third-party programs
/proc: Virtual directory, is the system memory mapping can directly access this directory to obtain system information
/sbin: Executable file, administrative command to store the hypervisor used by the system administrator
/var overflow area for some large files, such as log files for various services
/usr The largest directory, applications and files to be used in almost all of this directory, which contains:
/USR/X11R6 the directory where x window is stored
/usr/bin a multitude of applications
/usr/sbin Some management programs for super users
/usr/doc Linux Documentation
/usr/include the header files needed to develop and compile applications under Linux
/usr/lib Common dynamic-link libraries and package profiles
/usr/man Help Documentation
/USR/SRC source code, the Linux kernel source is placed in the/usr/src/linux
/usr/local/bin Local Add-on command
/usr/local/lib locally added Coogan file system
03. Learn note-linux below root directory introduction