WHEREIS(1) BSD Reference Manual WHEREIS(1)
whereis - locate programs
whereis name [...]
The whereis utility checks the standard binary directories for the speci- fied name, printing out the paths of any it finds that are executable by the user. The path searched is the string returned by the sysctl(8) utility for the "user.cs_path" string. The whereis utility exits with one of the following values: 0 All names were successfully resolved. 1 Some names were resolved but not all. 2 No names were resolved. -1 A system error occurred.
apropos(1), find(1), locate(1), which(1), sysctl(8)
The historic flags and arguments for the whereis utility are no longer available in this version.
The whereis command appeared in 3.0BSD. MirOS BSD #10-current April 27, 1995 1
Generated on 2017-04-03 16:26:17 by $MirOS: src/scripts/roff2htm,v 1.88 2017/01/29 00:51:06 tg Exp $
These manual pages and other documentation are copyrighted by their respective writers;
their source is available at our CVSweb,
AnonCVS, and other mirrors. The rest is Copyright © 2002–2017 The MirOS Project, Germany.
This product includes material provided by mirabilos.
This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.