man


man

Purpose

View online manual pages (also called man pages).

Syntax

man [options] [section] command

Options

-C cfile specifies the man configuration file (the default is /etc/man.config).

-P pager specifies the program to use to display one page at a time (for example, less).

-a displays all man pages matching a specific command.

-h displays a Help message and exits.

-w shows the location of the man pages to be displayed.

Description

The man command displays the man pages for the specified command. If you know the section for a man page, you can provide the section as well. For example, all Tcl/Tk man pages are in section n. Thus, you can view the man page for the Tcl/Tk command pack with the command man n pack.