ls, dir, vdir—lists contents of directory

ls [-abcdfgiklmnpqrstuxABCFGLNQRSUX1] [-cols] [-T cols] [-I pattern]
   [--all] [--escape] [--directory] [--inode] [--kilobytes]
   [--numeric-uid-gid] [--no-group] [--hide-control-chars] [--reverse]
   [--size] [--width=cols] [--tab-size=cols] [--almost-all]
   [--ignore-backups] [--classify] [--file-type] [--full-time]
   [--ignore=pattern] [--dereference] [--literal] [--quote-name]
   [--recursive] [--sort={none,time,size,extension}]
   [--format={long,verbose,commas,across,vertical,single-column}]
   [--time={atime,access,use,ctime,status}][--help] [--vision]
   [--color[={yes,no,tty}]] [--colour[={yes,no,tty}]][name…]

For each directory argument, ls lists the contents of the directory; for each file argument, ls repeats ...

Get Linux Shells by Example 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.