aproposutility displays the man page name, section number, and a short description for each man page whose NAME line contains keyword. This information is contained in the
whatisdatabase created by the
-woption used with man(1). If this database is not present,
Each word is considered separately and the case of letters is
ignored. Words which are part of other words are considered; for example,
when looking for ‘compile’,
finds all instances of ‘compiler’ also.
whatis command performs the same
search, but only matches whole words. In the above example,
whatis would not match the instances of
‘compiler’ when keyword is
apropos command is actually just the
-k option to the
example% apropos password
If the line starts ‘filename(section) ...’ you can run
to display the man page for filename.
to get the manual page on the subroutine printf(3C).
whatisdatabase does not exist. The command
-wmust be run to create it.
|July 20, 2014||OmniOS|