April 2005
Intermediate to advanced
720 pages
24h 28m
English
ls is one of the most basic Unix commands. It enables you to list the contents of a directory.
✓ Tip
The commands in this section assume that the shell prompt is displaying your home directory (~).
Type ls and press
.
A list of the contents of your home directory appears (Figure 4).

Type ls followed by the subdirectory name (for example, ls Library) and ...
Read now
Unlock full access