Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

ls(1) OSS Shell and Utilities Reference Manual
For all les contained within the specied Guardian pathname (/G/volume/subvolume) and for all
specied disk lenames, the following message is displayed:
%s %d,<file_identifier>, <filecode>
EXAMPLES
1. To list all les in the current directory, enter:
ls -a
This command lists all les, including . (dot), .. (dot dot), and other les whose names
begin with a dot.
2. To display detailed information, enter:
ls -l chap1 .prole
This command displays a long listing with detailed information about the les chap1 and
.prole.
3. To display detailed information about a directory, enter:
ls -d -l . manual manual/chap1
This command displays a long listing for the directories . (dot) and manual and for the
le manual/chap1. Without the -d ag, this command lists the les in . (dot) and
manual instead of providing detailed information about the directories themselves.
4. To list the les in the current directory in order of modication time, enter:
ls -l -t
This command displays a long listing of the les that were modied most recently, fol-
lowed by the older les.
5. To list one or more individual les using the -W guardian ag, enter, for example:
ls -W guardian /G/osf/kill/mykill /G/osf/kill/test
The following is displayed:
/G/osf/kill/mykill 100
/G/osf/kill/test 100
6. To list all the les in a subvolume using the -W guardian ag, enter, for example:
cd /G/osf/kill
ls -W guardian
The following is displayed:
bindkil 101
makekil 101
mykill 100
test 100
testc 101
7. To list a specic le in one subvolume and all the les in another subvolume using the
-W guardian ag, enter, for example:
ls -W guardian /G/osf/rose/rosec /G/osf/kill
The following is displayed:
/G/osf/rose/rosec 101
/G/osf/kill:
bindkil 101
582 Hewlett-Packard Company 527188-007