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) User Commands apropos(1)NAME
apropos - locate commands by keyword lookup
SYNOPSIS
apropos keyword...
DESCRIPTION
The apropos utility 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 /usr/share/man/windex database created by catman(1M). If catman(1M) was not run, or was run with the
-n option, apropos fails. 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', apropos finds all instances of `compiler' also.
apropos is actually just the -k option to the man(1) command.
EXAMPLES
Example 1: To find a man page whose NAME line contains a keyword
Try
example% apropos password
and
example% apropos editor
If the line starts `filename(section) ...' you can run
man -s section filename
to display the man page for filename.
Example 2: To find the man page for the subroutine printf()
Try
example% apropos format
and then
example% man -s 3s printf
to get the manual page on the subroutine printf().
FILES
/usr/share/man/windex table of contents and keyword database
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWdoc |
+-----------------------------+-----------------------------+
|CSI |Enabled |
+-----------------------------+-----------------------------+
SEE ALSO man(1), whatis(1), catman(1M), attributes(5)DIAGNOSTICS
/usr/share/man/windex: No such file or directory
This database does not exist. catman(1M) must be run to create it.
SunOS 5.10 20 Dec 1996 apropos(1)
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)