linux drwxr-xr-x the first bit represents the file type. D is the directory file, L is the link file,-is the normal file, p is the pipe 第2-4位 represents the owner of this file owns the permissions, R is read, W is write, X is executed. 第5-7位 represents the permissions of the user who is the owner of the same group as the file. 第8-10位 represents the permissions that other users have. such as: $ ls-altotal 16drwxr-xr-x 8 Bin bin + Dec 11:09. Drwxr-xr-x root system 4096 Feb 23 11:21.. Drwxr-xr-x 2 Develop others developdrwxr-xr-x 2 guest usr 31 2010 Guestdrwxr-xr-x IBM staff 4096 11:14 ibmdrwx------2 Root system 06 10: Lost+founddrwxr-xr-x 3 Oracle Staff 16:31 oracledrwxr-xr-x 2 202 201 256 DEC: sshd is logged on with IBM and cannot be written under Oracle User, Oracle is under the same group as IBM (staff). Only XR permission, can only read and execute.
The meaning of each segment of Linux Ls-al
1th field: File attribute field
The file attribute field has a total of 10 letters, the first letter indicates the file type, if the letter is a minus "-", then the file is a normal file. The letter "D" means that the file is a directory, the letter "D", is an abbreviation for dirtectory (directory).
Please note that a directory or a folder is a special file that holds information about other files and folders.
2nd Field
Number of hard links or directory subdirectories of a file
3rd field:
File owner
4th field:
The group where the file owner resides
5th field:
File file size (in bytes)
6th field:
File Creation Month
7th field:
File creation Date
8th field:
File creation time
9th field:
File name (if it is a symbolic link, there will be a "-a" arrow symbol, followed by a file it points to)
What does Linux drwxr-xr-x mean?