Trusted Solaris 8 Roadmap

Specifying Man Pages by Section Number

To check whether different versions of a topic exist in different sections, enter man with the -l option:


trusted% man -l topic

To specify man pages by section, use the man with the -s option:


trusted % man -s sectionnumber topic

The following example shows the results of using the -l option to find all the Intro man pages.


trusted% man -l Intro
Intro (1)   -M /usr/man
Intro (1m)  -M /usr/man
Intro (2)   -M /usr/man
Intro (3)   -M /usr/man
Intro (9f)  -M /usr/man
Intro (9s)  -M /usr/man
Intro (9e)  -M /usr/man
Intro (9)   -M /usr/man
Intro (4)   -M /usr/man
Intro (5)   -M /usr/man
Intro (7)   -M /usr/man
Intro (6)   -M /usr/man

By default, if you enter man topic in the Trusted Solaris environment without specifying the section and there are multiple sections containing man pages with the same name, the man page for the lowest numbered section displays, for example:


trusted% man Intro 
Trusted Solaris User Commands                                Intro(1)
NAME
     Intro, intro - Introduction to commands and application programs

DESCRIPTION
  ...

The following example illustrates specifying a section number:


trusted% man -s7 intro
Trusted Solaris Device and Network Interfaces              Intro(7)

NAME
     Intro, intro - Introduction to special files

DESCRIPTION
      ...