MAN(1) — User’s Manual — Commands
NAME
man − print out manual pages; find manual information by keywords
SYNOPSIS
man [ − ] [ −t ] [ section ] title ...
man −k keyword ...
man −f file ...
DESCRIPTION
Man displays information from the UNIX System Manuals. Man can be asked for one line descriptions of commands specified by name, or for all commands whose description contains any of a set of keywords. It can also provide on-line access to the sections of the printed manual.
When neither the −k nor −f option is specified (see OPTIONS below), man formats a specified set of manual pages. If a section is specified, man looks in that section of the manual for the given titles. Section is an arabic section number (‘3’ for instance); the number may be followed by a single letter classifier (‘1g’, for instance, indicating a graphics program in Section 1). If section is omitted, man searches all sections of the manual, giving preference to commands over subroutines in system libraries, and prints the first section it finds, if any.
If the standard output is a terminal, or if you use the − flag, man pipes its output through cat(1) with the −s option to crush out useless blank lines, ul(1) to create proper underlines for different terminals, and through more(1) to stop after each page on the screen. Type a space to continue, and a control-D to scroll 11 more lines when the output stops.
OPTIONS
−k
Display a one line synopsis of each manual section whose listing in the table of contents contains any of the keywords.
−f
Attempt to locate manual sections related to those files, and display the table of contents lines for those sections.
−t
Use troff to format the specified section, assuming you have a suitable raster output device which can actually handle troff’s output.
FILES
/usr/man/man?/∗manual pages in nroff/troff source
/usr/man/cat?/∗formatted manual pages
SEE ALSO
more(1), ul(1), whereis(1), catman(8)
BUGS
The manual is supposed to be reproducible either on the phototypesetter or on a typewriter. However, on a typewriter some information is necessarily lost.
Sun System Release 0.3 — 5 April 1983