CentOS file attributes: Command ls, centos attribute command ls

Source: Internet
Author: User

CentOS file attributes: Command ls, centos attribute command ls

Column 1: 11 digits

1) the first digit indicates the file type.

1) l indicates the link file

2) d indicates the Directory

3)-common files

4) Disk Partitions of Device B are of this type.

5) c serial port device file (character device file), such as keyboard, mouse, printer, tty terminal, etc.

6) s socket file for inter-process communication.

2) Nine digits after the type, each of which is a group of three. R is readable, w is writable, and x is executable. The permissions of the first three owners (users), the permissions of the group to which the third member belongs, and the last three members are not the permissions of this group (others.

The executable permission is used to open a directory. If you do not have the executable permission r, the file cannot be opened.

3. the last digit is a vertex. If SELinux context is used in a file or directory, click here. If acl is set, click the plus sign.

Column 2: inode of a file, such as the fruit tree directory. This number is related to the number of subdirectories in the directory.

Column 3: owner of the file

Column 4: indicates the group to which the file belongs.

Column 5: File Size

Last modified month, date, and time in column 7 and Column 8

Name of the ninth column.

 

Related Article

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.