WHATIS(1) General Commands Manual WHATIS(1)NAME
whatis - describe what a command is
whatis command ...
Whatis looks up a given command and gives the header line from the manual section. You can then run the man(1) command to get more infor-
mation. If the line starts `name(section) ...' you can do `man section name' to get the documentation for it. Try `whatis ed' and then
you should do `man 1 ed' to get the manual.
Whatis is actually just the -f option to the man(1) command.
/usr/man/whatis Data base
SEE ALSO man(1), catman(8)4th Berkeley Distribution May 7, 1986 WHATIS(1)
Check Out this Related Man Page
MAKEWHATIS(8) System Manager's Manual MAKEWHATIS(8)NAME
makewhatis - Create the whatis database
makewhatis [-u] [-v] [-w] [-s sections ] [-c [catpath]] [manpath]
makewhatis reads all the manual pages contained in the given sections of manpath or the preformatted pages contained in the given sections
of catpath. For each page, it writes a line in the whatis database; each line consists of the name of the page and a short description,
separated by a dash. The description is extracted using the content of the NAME section of the manual page.
Since other languages use a different term for the NAME section, makewhatis recognizes the equivalent terms in Czech, Italian, Finnish,
French, German and Spanish.
If no manpath argument is given, /usr/man is assumed by default.
OPTIONS -u Update database with new pages.
-v Verbose output
-w Use manpath obtained from `man --path`
Looks in the sections of manpath or catpath. If the option is absent, its value is assumed to be '1 2 3 4 5 6 7 8 9 n l'
The preformatted manual pages located in catpath are scanned. If the argument is not provided, it is assumed to be the first exist-
ing directory between /usr/man/preformat and /usr/man.
To rebuild only /usr/X11R6/man/whatis and /usr/local/man/whatis
makewhatis /usr/X11R6/man /usr/local/man
To rebuild all the databases, including those of the Finnish, French and Italian translations
LANGUAGE=fi:fr:it makewhatis -w
makewhatis may not handle too well manual pages written with non-standard troff macros, such as the Tcl/Tk pages.
makewhatis does not work on preformatted translations.
SEE ALSO apropos(1), man(1), whatis(1)
22 January 1999 MAKEWHATIS(8)