Command format:
commands [-options] [parameters]
Ls-la/etc
1. Individual commands do not follow this format
2, when there are multiple options, you can write together, most of the order can be arbitrary
3. Simplified options and complete options
-A equals--all
ls command:
LS list/bin/list display directory file-a All-l verbose-D View Directory Properties-I view the file or folder I node-lh file size in the appropriate units display
Ls-ld/etx Viewing directory information
Ls-l
-RWX------. 2 zrw zrw 4096 April 12:59 a.txt
ZRW is the owner, only one can change
ZRW is the owning group
4096 File Size
April 11 12:59 Last modified on
Ls-lh
-RWX------. 2 zrw zrw 4.0K April 12:59 a.txt
File size using the appropriate units
-rw-r--r--
1 bits represents the file type,-represents a file, D represents a directory, L represents a soft link file, and three common
R Read W write X Execute
2-4 Bits represents the owner, 5-7 is the owning group, and 8-10 means the other person
Linux command format, ls command