Name

man

Synopsis

man [options] [section] [title]

Displays information from the online reference manuals. man locates and prints the named title from the designated reference section.

Options

-a

Show all pages matching title.

-d

Display debugging information. Suppress actual printing of man pages.

-f

Same as whatis command.

-h

Print help and exit.

-k

Same as apropos command.

-m systems

Search systems' manpages. systems should be a comma-separated list.

-M path

Search for manpages in path. Ignore -m option.

-p preprocessors

Preprocess manpages with preprocessors before turning them over to nroff, troff, or groff. Always runs soelim first.

-P pager

Select paging program pager to display the entry.

-S sections

Define colon-separated list of sections to search.

-t

Format the manpage with troff.

-w

Print pathnames of entries on standard output.

Section names

Manpages are divided into sections, depending on their intended audience:

1

Executable programs or shell commands

2

System calls (functions provided by the kernel)

3

Library calls (functions within system libraries)

4

Special files (usually found in /dev)

5

File formats and conventions

6

Games

7

Macro packages and conventions

8

System administration commands (usually only for a privileged user)

9

Kernel routines (nonstandard)

Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.