ls command
#ls-L Display details #ls-i displays the inode number #ls-a displays all Files + directories, including hidden #ls-t sorted in chronological order (the first one is the one you just edited) #ls-H at-l when the user-friendly display file size, For example, automatically use the appropriate KB,MB,GB such as #ls-d directory to display only directories in a directory
File type
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M01/97/B1/wKioL1kxIw2B-qIaAAFiW5lVT3k401.png "title=" 2d.png "alt=" Wkiol1kxiw2b-qiaaafiw5lvt3k401.png "/>
The first line like this shows the D rwxr-xr-x CRW-------
One of the first letters:
-
d directory directory
-
c character string device
-
b block block devices Optical drives, discs, disks, etc.
-
l link Soft link file
Alias command
Run a command if you don't know what the real command is, you can use #which to query
#which ls
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/97/AF/wKiom1kxIyWSZX9kAAAIjam-eEQ101.png "title=" 3d.png "alt=" Wkiom1kxiywszx9kaaaijam-eeq101.png "/>
#alias See what aliases are in the system
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/97/AF/wKiom1kxIzWBrARtAAAhKKxcOSw978.png "title=" 4d.png "alt=" Wkiom1kxizwbrartaaahkkxcosw978.png "/>
Make an alias
#alias zh= "Ls-lha" to make an alias Zh=ls-lha
Cancel an alias
#unalias zh= "Ls-lha" to cancel an alias Zh=ls-lha
This article is from the "Old seven Linux Operations Management" blog, please be sure to keep this source http://asd9577.blog.51cto.com/4291946/1931753
Linux ls command + file type +alias command