Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)
User Commands (m - o) man(1)
NAME
man - Displays reference page information
SYNOPSIS
man [-c][-][-M pathname][section] title ...
man [-M pathname] -f | -k keyword ...
FLAGS
-c Does not pipe output through more.
-f keyword ... Displays descriptions of all commands, calls, functions, or special filenames
matching the specified keyword. Locates reference pages by function (same
as the whatis command).
This option requires the existence of a whatis keyword database file. The
information returned represents a match of the keyword against information
to the left of the hyphen in all entries within such a database file.
-k keyword ... Displays descriptions of all commands, calls, functions, or special file names
that contain the keyword in their name or description. Locates reference
pages by keyword (same as the apropos command).
This flag requires the existence of a whatis keyword database file. The infor-
mation returned represents a match of the keyword against information to the
right of the hyphen in all entries within such a database file.
-M pathname Specifies an alternative search path. pathname is a colon-separated list of
directories in which man expects to find the standard subdirectories contain-
ing reference pages or a whatis keyword database file.
If this flag is omitted, the man command uses the values in effect for the
MANPATH environment variable to locate searchable subdirectories or a
whatis keyword database file. When the MANPATH environment variable
is not defined, the man command searches directories as described in
Environment Variables in this reference page.
- Does not pipe output through more. (Same as -c.)
Operands
title Specifies the name of the command, function call, file, or other topic whose
reference page is to be displayed.
section Specifies the subdirectories within the search path that the man command
should restrict its search to.
section is either a section number from 1 through 8 or one of the letters
CLFlnop. If you specify C or 1, man searches in the sections Cnlpo1.
The following section values have a pre-defined meaning:
C Command
l Local
o Old
n New
The other section values correspond to a logical section identified by that
letter or number within the online reference information.
527188-004 Hewlett-Packard Company 6−11