Linux command----system directory structure

Source: Internet
Author: User

Ubuntu does not have the concept of a drive letter, there is only one root directory/, all files under it

Root directory:

/

System executable program (e.g.: command):

/bin

The kernel and startup programs (all and startup related files are saved here):

/boot

Bootstrapper-related files:

/boot/grub

Device files:

/dev

System software startup and configuration files (files that need to be read during system startup are all in this directory.) such as: Lilo parameters, user accounts and Passwords):

/etc

Mount media devices (such as: optical drives, USB drives, etc.):

/media

The/mnt directory is to allow users to temporarily mount other file systems (such as: mount a partition under Windows, Ubuntu Default or mount in the/media directory):

/mnt

Optional application package (rarely used):

/opt

/proc directory is the system memory mapping, we can directly access the directory to obtain system information (that is, the contents of this directory is no longer on the hard disk, but in memory):

/proc

Administrator System Program:

/sbin

The device directory tree used by Udev to reflect the device currently connected to the machine:

/sys

Temp folder:

/tmp

/usr is the largest directory, and many of the applications and files we use are stored almost in this directory:

/usr

Application:

/usr/bin

Game program:

/usr/game

Library files for the application:

/usr/lib

Include user programs, etc.:

/usr/local

Administrator application:

/usr/sbin

Linux command----system 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.