list storage
List information about the FILE(s) of the current directory. It sorts the files alphabetically if tags are not specified.
ls [OPTIONS/FlAGS] [FILE]
-
$ ls -1
-
List all files, including hidden files.
$ ls -a
-
$ ls -l
-
List all files with trailing directory names and indicating what type files are by putting a slash after directories and a star after executable files
$ ls -F
-
$ ls - la
-
$ ls -lS
-
$ ls - ltr
-
$ ls -h
-
$ ls -d */
-
$ ls -C
-
$ ls -i
OR
$ ls --inode
-
$ ls -t
- 0 = OK
- 1 = Minor problem --> can't access a directory/file.
- 2 = Major problem --> can't access command line arguments.
- Richard M. Stallman
- David MacKenzie.
Copyright © 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later. This is free software, you are free to change and redistribute the information. There is NO WARRANTY, to the extent permitted by law.