What does Linux drwxr-xr-x mean?

Source: Internet
Author: User

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?

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.