Linux file Markers

Source: Internet
Author: User

When you use Ls-l, you can see

[[email protected]/]# ls-ltotal 28drwxr-xr-x 3 root root Sep 11:29 applrwxrwxrwx.   1 root root 7 Sep 16:25 bin--usr/bindr-xr-xr-x.  4 root root 4096 Sep 16:29 bootdrwxr-xr-x root root 3180 Sep 15:06 devdrwxr-xr-x.   Root root 8192 Sep 11:07 etcdrwxr-xr-x.   2 root root (SEP) 14:57 homelrwxrwxrwx.   1 root root 7 Sep 16:25 Lib, usr/liblrwxrwxrwx.   1 root root 9 Sep 16:25 lib64-usr/lib64drwxr-xr-x.   2 root root 6 June mediadrwxr-xr-x.   2 root root 6 June mntdrwxr-xr-x.   2 root root 6 June optdr-xr-xr-x 361 root root 0 Sep 11:07 procdr-xr-x---.   2 root root 4096 Sep 16:30 rootdrwxr-xr-x root root 660 Sep 15:06 runlrwxrwxrwx.   1 root root 8 Sep 16:25 sbin-usr/sbindrwxr-xr-x.   2 root root 6 June srvdr-xr-xr-x root root 0 Sep 11:07 sysdrwxrwxrwt.  7 root root (SEP) 18:55 tmpdrwxr-xr-x. Root root 4096 Sep 16:25 uSrdrwxr-xr-x. Root root 4096 Sep 11:07 var

Like these drwxr-xr-x

Where the first digit represents the document, followed by 3 of the 3 3 groups is represented by the file permissions

At present, I understand the document marked with BCD-LSP:

B-Block device C-character device D directory-normal L link s socket p pipe

The usual is D-

This is the end of this article, thank you ~

Linux file Markers

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.