Commit | Line | Data |
---|---|---|
3d55d843 KB |
1 | .\" Copyright (c) 1980 Regents of the University of California. |
2 | .\" All rights reserved. The Berkeley software License Agreement | |
3 | .\" specifies the terms and conditions for redistribution. | |
4 | .\" | |
5 | .\" @(#)apropos.1 6.5 (Berkeley) %G% | |
d5781aef | 6 | .\" |
f0e164d4 | 7 | .TH APROPOS 1 "" |
d5781aef KM |
8 | .AT 3 |
9 | .SH NAME | |
10 | apropos \- locate commands by keyword lookup | |
11 | .SH SYNOPSIS | |
12 | .B apropos | |
3d55d843 KB |
13 | [ |
14 | .B -M | |
15 | .I path | |
16 | ] | |
d5781aef KM |
17 | keyword ... |
18 | .SH DESCRIPTION | |
3d55d843 KB |
19 | \fIApropos\fP shows which manual pages contain instances of any of the given |
20 | \fIkeyword\fP(s) in their title line. Each word is considered separately | |
21 | and case of letters is ignored. Words which are part of other words are | |
22 | considered; when looking for compile, \fIapropos\fP will also find all | |
23 | instances of ``compiler''. | |
d5781aef | 24 | .PP |
3d55d843 KB |
25 | If the line output by \fIapropos\fP starts ``name(section) ...'' you can |
26 | enter ``man section name'' to get its documentation. | |
d5781aef | 27 | .PP |
3d55d843 KB |
28 | Normally \fIapropos\fP checks in a standard location (/usr/man) for its |
29 | database ``whatis''. This can be changed by supplying a \fIpath\fP (a | |
30 | la the Bourne shell) with the \fB-M\fP flag. This search path must be | |
31 | a colon (``:'') separated list of directories which \fIapropos\fP will | |
32 | search for files named ``whatis''. The path can also be set with the | |
33 | environmental variable \fIMANPATH\fP. | |
d5781aef KM |
34 | .SH FILES |
35 | .DT | |
8fd02ef7 | 36 | /usr/man/whatis data base |
d5781aef | 37 | .SH "SEE ALSO" |
3d55d843 | 38 | man(1), whatis(1) |