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.