03. Learn note-linux below root directory introduction

Source: Internet
Author: User

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

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.