|
|
Other interesting flags for the ls command are:
-F Marks directories with a trailing slash
and executable files with a trailing
asterisk.
-l Lists in long format. Gives all sorts
of information.
-R Recursively lists subdirectories
encountered.
-s Gives the size of each file.
-t Sorts by time modified instead of by name.
It is possible to limit the scope of the files and subdirectories
by using wildcard characters.
For example, I would type
ls q*
if I wanted to list all the files and subdirectories
that began with a q.
Note that the ls command lists files in the working directory only, unless you include the pathname to another directory whose filenames you want to list.
© 1993-2000 Christopher C. Taylor |
|||||||