1. displaying file and directory details
[Email protected] ~]# ls-l
Total Dosage 52
Drwxr-xr-x 2 root root 4096 September 20 19:23 111
-RW-------. 1 root root 1460 September 9 02:39 anaconda-ks.cfg
-rw-r--r--. 1 root root 29745 September 9 02:39 Install.log
-rw-r--r--. 1 root root 6995 September 9 02:37 Install.log.syslog
-RW-------. Altogether 11 people
First column: 1th bit, what type of file is represented
-Normal file
Catalog D
C-Character device (mouse, keyboard)
B-Block devices (disk, disc, U-disk)
Soft link (similar to Windows shortcut, just record the path of a file)
s socket file (for interprocess communication)
P Pipe file (also used for communication, the output of one command as input to another command)
Then the next 9 bits, which represent the file's attribute permissions
Divided into three segments:
First paragraph: Indicates the owning master
Second paragraph: Indicates the owning group
Third paragraph: indicates other
R Readable w writable x executable-No
The last side. Related to SELinux, understand.
Second column: Indicates how many files and directories use the same inode for this file or directory
Column three: Owning Master
Fourth column: Owning group
Fifth Column: Size
humanized Display Size
[Email protected] ~]# LS-LH
Total dosage 52K
Drwxr-xr-x 2 root root 4.0K September 20 19:23 111
-RW-------. 1 root root 1.5K September 9 02:39 anaconda-ks.cfg
-rw-r--r--. 1 root root 30K September 9 02:39 Install.log
-rw-r--r--. 1 root root 6.9K September 9 02:37 Install.log.syslog
第六、七、八 column: Time to create or change
Nineth column: File name or directory name
This article from the "Linux" blog, reproduced please contact the author!
File and Directory Properties