ls — List Contents of Directory

Synopsis

/usr/bin/ls [-aAbcCdfFgilLmnopqrRstux1][file...] 
/usr/xpg4/bin/ls [-aAbcCdfFgilLmnopqrRstux1][file...] 
/usr/ucb/ls [-aAcCdfFgilLqrRstu1] file... 

Description

Use the ls command to list the contents of a directory and display permissions, links, ownership, group, size (in bytes), modification date and time, and file name for files.

For each file that is a directory, ls lists the contents of the directory; for each file that is an ordinary file, ls repeats its name and any other information requested. The output is sorted alphabetically by default. When you specify no arguments, ls lists the contents of the current directory. When you specify several arguments, the arguments are first sorted appropriately, ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.