Linux ls-l command result meaning parsing

Source: Internet
Author: User

LS-the contents shown in L are as follows:

-rw-r--r--. 1 root root 192 Jan 09:55 text.txt-10 characters to determine what different users can do with a file-the first character represents a file (-), Table of contents (d), link (l)-the remaining characters are set per 3 (RWX), read (R), write (W), execute (x)-first set of rw-: The permissions of the file owner are read, write, and execute-Second group of r--: Permissions for users of the same group as the file owner are read, write, but cannot be executed-Third group of r--: The permissions of other users who are not in the same group as the file owner are read and cannot be written and executed as well as numbers expressed as: R=4, w=2, x=1So rwx=4+2+1=7-1indicates the number of files connected-root indicates that the user-Root indicates the group to which the user resides-192indicates file size (bytes)-Jan 09:55indicates last modified date

-ABC indicates file name

Linux ls-l command result meaning parsing

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.