Linux file directory structure and file type

Source: Internet
Author: User

Linux file directory structure

      1. /bin: Store common Commands under Directory
    1. /boot: Store Linux boot core files, connection files and images
    2. /dev: storage of external devices
    3. /etc: the configuration files and subdirectories required by the system administrator
    4. /home: Per User Directory
    5. /lib: Dynamic connection Shared Library, Windows-like DLL file
    6. /lost+found: General empty directory, non-normal shutdown to store some files
    7. /media: Identify device mount the directory (USB drive, optical drive)
    8. /OPT: Installing the Database
      10./proc: Storing stored process and system Information
      11./root: System Administrator Directory
      12./sys: Hardware driver information
      13./tmp: Temp File
      14./usr/bin: Storing applications
      15./usr/sbin: Super User Advanced programs and Systems management program
      16./USR/SRC: Kernel source code
      17./var: System default Journaling
      18./mnt; temporarily mount a file

File type

    1. Ordinary file "-"
    2. Catalog File "D"
    3. Link file "L"
    4. Device file "B"
      The first character recognition can be viewed with ls-l

File follow-up name

    1. GZ Compressed Package
    2. Zip compressed file
    3. Tar package file
      4.RPM Packages
      5.so Library file
      6..C C source program code file

Link file
Ln-s source file destination file soft Connect
ln source file destination file hard link
Difference size Delete source file
Hard link Large readable
Soft connection small No hair read

20180530

Linux file directory structure and file type

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.