ls-l Long format list

ls -l The command lists the specific information of the file or directory , Long format list

below , Detailed description according to an example

* The first 1 column : File properties
* The first 1 Characters are file types
- : Ordinary file
b : Block device file (Block)
d : Catalog file (Dir)
c : Character device file (Char)
I : Symbolic connection file (Link)
p : Named pipe file (Pipe)
* Access rights to files (r Read permission ,w Write permission ,x Executable permissions )
2-4 character : File owner's access to the file
5-7 character : Access rights of users in the same group to files
8-10 character : Access rights of other users to files
The file type of this example is ordinary file , The file owner's access to the file is readable, writable, and executable , The access rights of users in the same group to files are readable and executable , The access rights of other users to the file are executable .

* The first 2 column : file link Number of directories or subdirectories
This example file link Number is 1.

* The first 3 column , The first 4 column : Name and group name of the file owner
The name of the master of this example file is liang, Group name is stud.

* The first 5 column file size
* Ordinary disk file : List file sizes ( Number of bytes )
* catalogue : List catalog table sizes
* Symbol connection file : Lists the length of the symbolic connection file itself
* Character device and block device files : List the primary and secondary equipment numbers
* Pipeline file : Lists the length of data in the pipe
This example is a normal disk file , file size 519 byte

* The first 6 column : Date and time when the document was last modified
When was the last time this example file was modified 7 month 5 day 15:02

* The first 7 column : file name
* For symbolic connection files , Lists the contents of the symbolic connection file
The file name of this example is arg

Technology
Daily Recommendation