Go to the first, previous, next, last section, table of contents.


10 Describe command

The Whatis program looks up a given command and gives the header line from the manual page. You can then use the man command to get more information.

Whatis uses a database file `whatis.db', which is normally located in `/GG/etc/'.

10.1 whatis options

The options are as follows:

`-C'
`--config=FILE'
Use the specified file instead of the default configuration file. This permits users to configure their own manual environment. See the Configuration chapter for a description of the contents of this file.
`-M'
`--manpath=LIST'
Override the list of standard directories which man searches for manual pages. The supplied path must be a colon `:' separated list of directories. This search path may also be set using the environment variable `MANPATH'. The subdirectories to be searched, and their search order, is specified by the `_subdir' line in the man configuration file.
`-m'
`--augment=LIST'
Augment the list of standard directories which man searches for manual pages. The supplied path must be a colon `:' separated list of directories. These directories will be searched before the standard directories or the directories specified using the `-M' option or the `MANPATH' environment variable. The subdirectories to be searched, and their search order, is specified by the `_subdir' line in the man configuration file.

10.2 whatis invocation

Synopsis:

whatis [OPTIONS]... [KEYWORD]...
whatis gcc


Go to the first, previous, next, last section, table of contents.