
Introducing the File System
6-12
Listing the Files in a Directory
The ls command lists the contents of a directory. If you don’t specify a directory
name, it lists the contents of the current directory. The output shows both files and
subdirectories intermixed in a single alphabetical list.
Refer to ls(1) in HP-UX Reference Vol. 1 for a complete list of the options for the
ls command.
To list all of the files in your current directory, enter
ls -a
Comentários a estes Manuais