Usage: LS [option] ... [File] ...
Lists information about the file (default is the current directory).
If you do not specify the-cftuvsux or--sort option, sort by letter size.
The long option must use parameters that are also required for short options.
-A, --all display. Or. The Hidden file
Such as:
#ls-A
. A.out Love.txt
-D, --directory lists the directory itself instead of files within the directory when the directory is encountered
-H, --human-readable with-l output file size in an easy-to-read format
(e.g. 1K 234M 2G)
Such as:
# LS-LH
Total dosage 232K
-rw-r--r--. 1 root root 152 July 9 00:51 10.c
-rw-r--r--. 1 root root 83 July 9 00:55 11.c
-rw-r--r--. 1 root root 171 July 9 01:00 12.c
-rw-r--r--. 1 root root 157 July 9 01:16 13.c
-rw-r--r--. 1 root root 215 July 9 01:25 14.c
-rw-r--r--. 1 root root 288 July 9 01:36 15.c
-rw-r--r--. 1 root root 140 July 9 03:09 16.c
-rw-r--r--. 1 root root 116 August 9 15:29 17.c
-rw-r--r--. 1 root root 196 August 9 15:45 18.c
-rw-r--r--. 1 root root 143 July 8 22:46 1.c
-rw-r--r--. 1 root root 319 August 10:54 1.txt
-rw-r--r--. 1 root root 143 July 8 22:51 2.c
-rw-r--r--. 1 root root 148 July 8 23:11 3.c
I wonder if you have anything to add to the great God, thank you.
This article from the "7439787" blog, reproduced please contact the author!
Linux ls Common command detailed