The root directory folder in Linux system in Chinese

Source: Internet
Author: User
Tags temporary file storage

In the Linux system,/on behalf of the root directory, there are many folders under the root directory, below to understand together

# CD/
# Ls-al
Total 448
Drwxr-xr-x 2 root root 4096 may 04:02 bin
Drwxr-xr-x 2 root 4096 Sep 2013 Sbin
Drwxr-xr-x root root 4096 Feb 04:02 Lib

Drwxr-xr-x root root 4096 June 10:55 Home
Drwxr-x---8 root root 4096 14:06 root
DRWXRWXRWT 4 root root 315392 14:24 tmp
DRWX------2 Root 16384 2013 Lost+found

Drwxr-xr-x 2 root root 4096 Mar 2009 MNT
Drwxr-xr-x 2 root 4096 Mar 2009 Media

Drwxr-xr-x root root 4096 June 8 04:02 etc
Drwxr-xr-x root root 4096 Aug 2013 Var
Drwxr-xr-x root root 4096 Mar 2013 usr
Drwxr-xr-x 2 root 4096 Mar 2009 opt

Drwxr-xr-x root root 3060 may 16:31 Dev

Drwxr-xr-x 3 root root 4096 Mar 2013 boot
Drwxr-xr-x 2 root 4096 Mar 2009 SRV

Drwxr-xr-x 2 root root 4096 Mar 2013 SELinux

Drwxr-xr-x root 0 May 00:29 sys
Dr-xr-xr-x root root 0 May 00:29 proc
/bin saves binary executable programs, and some of the commands that are often used in the system (such as CP, ECHO, RM, tar, and so on) are stored here. Programs under this folder can be used by ordinary users.

/sbin and/bin are similar, save some binary executables, most of which are the basic system programs used by system administrators, so although ordinary users are necessary and allowed to use, but generally not for ordinary users.

/lib Standard Programming Library, also known as the dynamic Link shared library, functions like a. dll file in Windows

/home user home directory, such as the user's home directory is/home/user, you can use ~user Express

/root system Administrator's home directory

/tmp Public temporary file storage point, written in script files need to write temporary files can be written to this directory

/lost+found This directory is usually empty, the system is not normal shutdown and left "homeless" files will be put here

The/MNT system provides this directory to allow users to temporarily mount other file systems.

/media Mobile Storage, the system is automatically mounted when the time is usually placed here

/ETC System Management and configuration files

/var are files that store a variety of changes, such as log, etc.

/usr The largest directory, the applications and files to be used are almost all in this directory

/OPT Third party software will find this directory by default during installation

The/dev directory stores device files, which are device drivers, through which users access external devices. For example, users can access the mouse input by accessing the/dev/mouse, just as they would access other files.

/boot contains something about the system startup, such as the kernel, grub, and so on.

A directory of data that needs to be accessed after the/srv service starts, such as the Web page data that the WWW service needs to access is stored in/srv/www

The/proc file system is a pseudo file system, it only exists in memory, and does not occupy the external storage space. It provides an interface to the operation of accessing system kernel data in a file system manner. Users and applications can get information about the system through proc and can change some of the kernel's parameters. Because the information of the system, such as the process, is dynamically changed, so the user or application reads the proc file, the proc file system is dynamically reading the required information from the system kernel and submitting it.

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.