One step at Linux---ls-l command executes the meaning of each column of the display result

Source: Internet
Author: User

Turn-cut: 77418413

The above image is truncated to the first connection, followed by a simple description of the text:
1, the first color box, file Type column , here is a brief description of several common types, d represents a directory file, for example, Dr-xr-xr-x;l represents a linked file, such as Lrwxr-xr-x;
-denotes ordinary documents, such as-rwxrwxr-x;
2, the No. 234 color box, file Permissions column , because Linux is a multi-user multitasking system, each user to the same file permissions may not be the same, so the permissions of the file set is very important;
3, Fifth color box, file hard link number or directory subdirectory number ,
If a file is not a directory then this field indicates the number of hard links that the file has, that is, how many filenames the file has in total. View the first file;
if it is a directory, the 2nd field represents the number of subdirectories contained in the directory, creating a new empty directory, the second field of this directory is 2, indicating that there are two subdirectories in the directory.
Why is there a two subdirectory under the new directory?
because each directory has a subdirectory that points to itself "." and a subdirectory that points to its parent directory "...", these two default subdirectories are hidden.
use ls-a to see "."
each time a new subdirectory is created under the directory, the value of the 2nd field in the directory increases by 1, but the field value is not incremented for creating a new normal file.
4. Sixth color box, file owner name
5, the Seventh color box, the file belongs to the group name
6, Eighth color box, file size
7, the nineth color box, the last modified time of the file
8, tenth color box, file name

One step at Linux---ls-l command executes the meaning of each column of the display result

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.