CSC373/406: linux: ls: list the contents of a directory [17/42] Previous pageContentsNext page

Command: ls

Arguments: Optional list of files and or directory names

Options: -l

Description: Lists the specified files and or directories. For a directory, all its files and directories are listed. If no file or directory is specified, the current directory is assumed.


$ ls
csc373          mail            nachos-3.4.tar  test
examples        nachos-3.4      new             test.txt

Previous pageContentsNext page