ls

Unix basics
Commands
List files
Author

Karen C. Goncalves dos Santos

Published

January 17, 2023

ls, used alone, will print the contents of the current directory. If it is followed by a path to a directory, will print its contents.

Options (letters or words preceded by “-” or “–”, respectively) will change how and what is printed.

To know other options for ls, run man ls or ls --help

Back to top