Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

ls(1) OSS Shell and Utilities Reference Manual
-s Gives space used in 512-byte units (including indirect blocks) for each entry.
-t Sorts by time of last modication (latest rst) instead of by name, before sorting the
operands by the collating sequence.
-u Uses the time of the last access instead of the time of the last modication for sorting
(when used with the -t ag) or for displaying (when used with the -l ag). The -u ag
has no effect unless used with either the -t or -l ag or both.
-x Sorts output horizontally in a multicolumn format.
-1 Forces an output format of one entry per line; this is the default format when output is
not directed to a terminal.
When the following mutually exclusive ags are specied, the last ag specied on the com-
mand line takes effect:
-C and -l (ell)
-C and -1 (one)
-m and -l (ell)
-x and -l (ell)
-c and -u
HP Extensions
-W guardian [/G[/volume[/subvolume[/file_identifier]]]] ...
Species a Guardian pathname. The -W guardian ag cannot be specied with any of
the other ags for the ls command. The specied pathname must either identify a disk
le directly or point to a Guardian subvolume. If a disk le is specied in the format
/G/volume/subvolume/le_identier, its le code is displayed. If the format used is
/G/volume/subvolume, the le codes for all of the disk les within the specied subvo-
lume are displayed.
-W NOG
Species that the /G directory should be omitted when the initial directory is root and
the recursive ag (-R) is used. This ag is ignored when the initial directory is not /,
/E,or/E/system or when recursion does not occur.
-W NOE Species that the /E directory should be omitted when the initial directory is root and
the recursive ag (-R) is used. This ag is ignored when the initial directory is not root
or when recursion does not occur.
Specify both the -W NOG and -W NOE ags to omit both the /G and /E directories.
DESCRIPTION
The ls command writes to the standard output le the contents of each specied directory or the
name of each specied le, along with any other information you ask for with ags. If you do
not specify a le or a directory, ls displays the contents of the current directory. Objects whose
names begin with a period (.) are normally not displayed except with the -a ag.
By default, the ls command displays all information in collated order by lename. The collating
sequence is determined by the LC_COLLATE environment variable.
578 Hewlett-Packard Company 527188-003