CentOS Stream 9
Sponsored Link

Command Help

Command :   Back to index

ls : list directory contents
[SYNOPSIS] ls OPTION FILE
OPTION
-a do not ignore entries starting with .
-A do not list implied . and ..
-B do not list implied entries ending with ~
-C list entries by columns
-d list directories themselves, not their contents
-f do not sort, enable -aU, disable -ls --color
-F append indicator (one of */=>@|) to entries
-g like -l, but do not list owner
-G in a long listing, don't print group names
-h with -l and -s, print sizes like 1K 234M 2G etc.
-i print the index number of each file
-I PATTERN do not list implied entries matching shell PATTERN
-l use a long listing format
-L when showing file information for a symbolic link, show information for the file the link references rather than for the link itself
-m fill width with a comma separated list of entries
-n like -l, but list numeric user and group IDs
-N print entry names without quoting
-o like -l, but do not list group information
-p append / indicator to directories
-q print ? instead of nongraphic characters
-Q enclose entry names in double quotes
-r reverse order while sorting
-R list subdirectories recursively
-s print the allocated size of each file, in blocks
-S sort by file size, largest first
-t sort by time, newest first; see --time
-T COLS assume tab stops at each COLS instead of 8 -u with -lt: sort by, and show, access time
with -l: show access time and sort by name
otherwise: sort by access time, newest first
-X sort alphabetically by entry extension
-Z print any security context of each file
-1 list one file per line. Avoid '\n' with -q or -b

Matched Content