Linux directory Structure

Source: Internet
Author: User

  • /root directory, only the directory, do not store files, etc,/bin,/dev,/lib,/sbin should be the same partition as the root directory
  • /bin storing the necessary commands
  • /boot Store the kernel and the required files for boot, (recommended separate partition 100M)
  • /dev Store device files
  • /etc Store System configuration file
      • Skel Home Directory is established, this directory is initialized
      • SYSCONFI Network, time, keyboard and other configuration directory
      • X11 to store things related to window
    Home directory of the/home user file, where the user data resides (recommended separate partitioning)
      • Ftp
      • httpd
      • Samba
      • Username_1
      • Username_2
  • /lib storing the necessary runtime libraries
  • /mnt temporary mapping file system, can mount the floppy/CD drive in floppy, CDROM sub-directory
  • /proc process and system information when storing storage
  • /root home directory for super users
  • /OPT host additional installation software catalog
  • /srv the data directory that needs to be accessed after the service is started, such as the Web page data that the WWW server needs to store within/SRV/WWW
  • /sbin System Management Program
  • /tmp Temp file directory
  • /usr contains applications that do not normally need to be modified, command program files, libraries, manuals (separate partitions are recommended)
    • Bin almost all of the commands used by the user, in addition to the presence of/bin,/usr/local/bin
    • Sbin system administrator commands, related to user
    • Include/C + + header files
    • LIB Fixed program data
    • Local locally installed software save location
    • Man Manual-generated directory
    • Info Info Document
    • Doc information for different package documents
    • Tmp
  • /var contains frequently changing files generated by the system, such as printers, mail, news, and logs (a separate partition is recommended)
    • /X11R6 Storage X Window System
    • /bin storing the added user program
    • /dict Store Dictionary
    • /doc appended documents
    • /etc Settings file
    • /games Games and teaching documents
    • /include C Development tool header file
    • /info GNU Information file
    • /lib Repository File
    • /local storage of locally generated add-on applications
    • /man online Help file
    • /sbin Added Management program
    • /share Structure-independent data
    • Source code of the/SRC program

Linux directory Structure

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.