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

ls(1) OSS Shell and Utilities Reference Manual
-q Displays nonprintable characters in filenames as a ? (question mark) character if output
is sent to a terminal (the default destination).
-r Reverses the order of the sort, giving reverse collation or the oldest first, as appropriate.
-R Lists all subdirectories recursively.
-s Gives space used in 512-byte units (including indirect blocks) for each entry.
-t Sorts by time of last modification (latest first) 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 modification for sorting
(when used with the -t flag) or for displaying (when used with the -l flag). The -u flag
has no effect unless used with either the -t or -l flag 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 flags are specified, the last flag specified 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]]]] ...
Specifies a Guardian pathname. The -W guardian flag cannot be specified with any of
the other flags for the ls command. The specified pathname must either identify a disk
file directly or point to a Guardian subvolume. If a disk file is specified in the format
/G/volume/subvolume/file_identifier, its file code is displayed. If the format used is
/G/v olume/subvolume, the file codes for all of the disk files within the specified subvo-
lume are displayed.
-W gfinfo [/G[/volume[/subvolume[/file_identifier]]]] ...
Specifies a Guardian pathname. The -W gfinfo ag cannot be specified with any of the
other flags for the ls command. The specified pathname must either identify a disk file
directly or point to a Guardian subvolume. If a disk file is specified in the format
/G/v
olume/subvolume/file_identifier, its file type, file code, last open time, modification
time, create time, permission, format, primary extents, secondary extents, and Safe-
guard status are displayed. If the format used is /G/volume/subvolume, the identical
information described above for an individual disk file is displayed for all of the disk
files within the specified subvolume.
This flag is supported on systems running J06.13 or later J-series RVUs or H06.24 or
later H-series RVUs only.
-W NOG
Specifies that the /G directory should be omitted when the initial directory is root and
the recursive flag (-R) is used. This flag is ignored when the initial directory is not /,
580 Hewlett-Packard Company 527188-021