apropos(1) General Commands Manual apropos(1)Name
apropos - locate commands by keyword lookup
Syntax
apropos keyword...
Description
The command shows which manual sections contain instances of any of the given keywords in their title. Each word is considered separately
and the case of letters is ignored. Words that are part of other words are listed. Thus, looking for the word compile hits all instances
of `compiler' also.
If the line starts `name(section) ...' you can do `man section name' to get the documentation for it. The following command line lists all
commands that have to do with formatting:
apropos format
To then access the reference page for the printf subroutine that you see listed, type:
man 3s printf
The command is actually just the -k option to the command.
Files
/usr/lib/whatis data base
See Alsoman(1), whatis(1), catman(8)apropos(1)
Check Out this Related Man Page
APROPOS(1) BSD General Commands Manual APROPOS(1)NAME
apropos, whatis -- keyword search whatis documentation databases
SYNOPSIS
apropos [-d] keyword ...
whatis [-d] keyword ...
DESCRIPTION
The apropos utility searches a set of databases looking for documentation matching each keyword and displays the results. The whatis utility
does the same search but only on complete words.
-d Print extra debugging information.
The keyword is simply passed to grep(1) allowing for extended regular expression matches.
ENVIRONMENT
The following environment variables affect the execution of apropos:
MANLOCALES, MANPATH, PATH
Used to find the location of the whatis database files. See manpath(1) for additional information.
PAGER Program used to display files. If unset, more -s is used.
DIAGNOSTICS
The apropos utility exits 0 if a keyword matched and 1 if no keywords are matched or no whatis databases are found.
SEE ALSO grep(1), makewhatis(1), man(1), manpath(1), man.conf(5)BSD September 1, 2010 BSD
How come my 'apropos' cmd doesn't work in Solaris but works in Linux? How can I get it to work? Are the files in the 'companion' cd? Thanks. (2 Replies)
I believe my apropos command is corrupt. Every time i invoke it the following happens... please see attached png file. Is there a way for me to reinstall or rebuild the apropos command? However, when I log on as a different user everything seems ok
I am currently running Free BSD (OS X)
... (3 Replies)
Hello!
Yesterday we added over 10,000 PHP man pages to our man page section.
I've not yet got our unique and special recursive search feature working; but you can still access the PHP man pages directly by selecting PHP in the man sets drop down menu (left side) and then section 3 (right... (3 Replies)