Linux Command Ls-al parsing

Source: Internet
Author: User
Tags readable

Linux Command Ls-al parsing

Linux Command Ls-al parsing

LS is the "list" meaning, similar to the previous DOS command dir function. The parameter-al indicates that all files are listed, including hidden files, which are the first characters in front of a file. As shown above, the first time you log in to Linux as root, if you enter a command, you should see the above content first to resolve the above 7 fields meaning:

1. The first column is the properties of this file:

#第一个属性表示这个文件时 "directories, files, or linked files, etc.":

"D" is the Directory

"-" is the file

"L" is indicated as a linked file

"B", which is the interface device that is available for storage in the device file

"C" is indicated as a serial port device in the device file, such as a keyboard, mouse.

#接下来的属性中, 3 are a group, and all are "rwx" 3 parameter combinations. where r indicates that a readable read,w represents a writable write,x representing an executable excute.

The first group is "permissions for the owner", the second group is "permissions with the user group," and the third group is "permissions for other non-user groups."

2, the second column indicates the node occupied by the connection (I-node)

3. The third column represents the "owner" of this file or directory

4. The fourth column represents the owner's user group

5, the size of this file is listed in the five

6. The date of creation of this file or the most recent modification date

7, the Seventh column of the file name: If the filename is preceded by a. Description is a hidden file. If you only enter LS before the Add. File is not displayed. The Ls-al will display all the files.

Linux Command Ls-al parsing
LS is the "list" meaning, similar to the previous DOS command dir function. The parameter-al indicates that all files are listed, including hidden files, which are the first characters in front of a file. As shown above, the first time you log in to Linux as root, if you enter a command, you should see the above content first to resolve the above 7 fields meaning:
1. The first column is the properties of this file:
#第一个属性表示这个文件时 "directory, file or linked file, etc.": "D", is the Directory "-", then the file "L", is the link file "B", is indicated as the device file is available to store the interface device "C", is represented as a serial port device in the device file, For example, keyboard, mouse.
#接下来的属性中, 3 are a group, and all are "rwx" 3 parameter combinations. where r indicates that a readable read,w represents a writable write,x representing an executable excute. The first group is "permissions for the owner", the second group is "permissions with the user group," and the third group is "permissions for other non-user groups." 2, the second column represents the node occupied by the connection (I-node) 3, the third column indicates that the file or directory of the "owner" 4, the fourth column represents the owner of the user Group 5, the five columns of this file size 6, column six is the date of creation of this file or the most recent modification date 7, The seventh column is the filename of this file: if the filename is preceded by a. Description is a hidden file. If you only enter LS before the Add. File is not displayed. The Ls-al will display all the files.

Linux Command Ls-al parsing

Related Article

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.