ls
Displays the contents of a directory.
Synopsis
ls [dir1] [dir2] [dir3]...
Description
Demonstrates how to scan a directory to determine its contents.
Arguments
- dir1...
- Name of the directories to list. You can specify an arbitrary number
of directory names. If no name is specified, the directory in which the ls
program is located is displayed.
Associated Files
ls.c
Location
$c/ls
examples/FileSystem