Ls indicates "list", which is similar to the Dir function of earlier DOS commands. The-Al parameter indicates that all files are listed, including hidden files, which are files whose first character is. As shown above, when logging on to Linux as a root for the first time, if you enter the command, the above content should first parse the meaning of the above seven fields,: 1. the first column is the attributes of the file: # When the first attribute indicates the file, "directory, file, or linked file": [d], it is the directory 【-], if it is a file [L], it is a link file [B], it is the interface device [c] that can be stored in the device file ], indicates the serial port device in the device file, such as the keyboard and mouse. # In the following attributes, the three are in a group and all are "rwx" parameter combinations.
R indicates readable read, W indicates writable write, and X indicates executable excute. Each permission is represented by a number: R 4; W 2; x 1. the first group is "permissions of the owner", the second group is "permissions of the same user group", and the third group is "permissions of other non-user groups ". 2. The second column indicates the node occupied by the connection (I-node) 3. The third column indicates the "owner" of the file or directory. 4. The fourth column indicates the owner's user group. 5. The fifth column indicates the file size. 6. The sixth column indicates the file creation date or the latest one. column 7 and 7 are the file names of this file: if the file name is preceded. it indicates that the object is hidden. If you only input the files added before ls, they will not be displayed. Ls-AL: All files are displayed.