Description of the organization structure of Linux files and folders

Source: Internet
Author: User
Keywords Linux
Tags directory example file files linux local root root directory
Linux differs from Windows in file structure, and Linux files and folders are organized into an inverted tree structure. and separated by/(slash). We can use the LL command or the LS command to view the Linux file structure under the root directory, as shown in the following example:

[Root@localhost/]# LL
Total Dosage 102
Dr-xr-xr-x. 2 root 4096 December 20:51 bin
Dr-xr-xr-x. 5 root http://www.aliyun.com/zixun/aggregation/12560.html ">1024 December 20:35 Boot
Drwxr-xr-x. 4 root 4096 December 13:20 data
Drwxr-xr-x. Root 3800 December 09:49 Dev
Drwxr-xr-x. 118 root root 12288 December 09:49 etc
Drwxr-xr-x. 5 root 4096 December 21:39 Home
Dr-xr-xr-x. Root 12288 December 20:51 Lib
DRWX------. 2 root 16384 June 8 2013 Lost+found
Drwxr-xr-x. 2 root root 4096 September media
Drwxr-xr-x. 2 Root 0 December 09:49 Misc
Drwxr-xr-x. 2 root 4096 September MNT
Drwxr-xr-x. 2 Root 0 December 09:49 net
Drwxr-xr-x. 3 root 4096 June 8 2013 opt
Dr-xr-xr-x. Root 0 December 09:48 proc
Dr-xr-x---. 5 root 4096 December 22:42 root
Dr-xr-xr-x. 2 root 12288 December 20:51 sbin
Drwxr-xr-x. 7 Root 0 December 09:48 SELinux
Drwxr-xr-x. 2 root root 4096 September SRV
Drwxr-xr-x. Root root 0 December 09:48 sys
Drwxrwxrwx. Root 4096 December 09:49 tmp
Drwxr-xr-x. Root 4096 December 21:08 usr
Drwxr-xr-x. Root 4096 December 21:21 var
Drwxr-xr-x. 4 root 4096 December 22:18 webserver

Important File Directory

User home directory:/root,/home/username

User executable directory: Bin,/usr/bin,/usr/local/bin

System executable Program:/sbin, Sbin,/usr/local/sbin

Mount point:/media, MNT

Common configuration file directory: etc

Temporary files directory:/tmp

Kernel and boot directory: Boot

Server directory: var

System Information Directory:/proc,/sys

Shared Library directory: Lib,/usr/lib,/usr/local/lib

User-Established directory/data,/webserver

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.