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