Manpage–How-to build the whatis file on HP-UX

Run "catman" to build the "/usr/share/lib/whatis" file. Then you can run the "man –k [some command] to see what manual sections the command is in.

For example, if you run "man -k mkdir", it will show that "mkdir" is in sections 1 and 2.

To see section 2 you would run "man 2 mkdir".

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s