1.\" Copyright (c) 1989, 1990 The Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" %sccs.include.redist.roff% 5.\" 6.\" @(#)apropos.1 6.11 (Berkeley) 07/22/91 7.\" 8.Dd 9.Dt APROPOS 1 10.Os 11.Sh NAME 12.Nm apropos 13.Nd locate commands by keyword lookup 14.Sh SYNOPSIS 15.Nm apropos 16.Op Fl M Ar path 17.Op Fl m Ar path 18.Ar keyword ... 19.Sh DESCRIPTION 20.Nm Apropos 21shows which manual pages contain instances of any of the given 22.Ar keyword(s) 23in their title line. 24Each word is considered separately and case of letters is ignored. 25Words which are part of other words are considered; when looking for 26.Dq compile , 27.Nm apropos 28will also list all instances of 29.Dq compiler . 30.Pp 31If the line output by 32.Nm apropos 33starts 34.Dq Li name(section) ... 35you can enter 36.Dq Li man section name 37to get 38its documentation. 39.Pp 40The options are as follows: 41.Bl -tag -width flag 42.It Fl M 43Override the list of standard directories 44.Nm apropos 45searches for a database named 46.Pa whatis.db . 47The supplied 48.Ar path 49must be a colon 50.Dq \&: 51separated list of directories. 52This search path may also be set using the environment variable 53.Ev MANPATH . 54.It Fl m 55Augment the list of standard directories 56.Nm apropos 57searches for its database. 58The supplied 59.Ar path 60must be a colon 61.Dq \&: 62separated list of directories. 63These directories will be searched before the standard directories 64or the directories supplied with the 65.Fl M 66option or the 67.Ev MANPATH 68environment variable are searched. 69.Sh ENVIRONMENT 70.Bl -tag -width MANPATH 71.It Ev MANPATH 72The standard search path used by 73.Xr man 1 74may be overridden by specifying a path in the 75.Ev MANPATH 76environment variable. 77The format of the path is a colon 78.Dq \&: 79separated list of directories. 80.El 81.Sh FILES 82.Bl -tag -width whatis.db -compact 83.It Pa whatis.db 84name of the apropos database 85.El 86.Sh SEE ALSO 87.Xr man 1 , 88.Xr whatis 1 , 89.Xr whereis 1 90.Sh HISTORY 91The 92.Nm apropos 93command appeared in 94.Bx 3.0 . 95