xref: /original-bsd/usr.bin/whereis/whereis.1 (revision 00695d63)
1.\" Copyright (c) 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\"	@(#)whereis.1	8.3 (Berkeley) 04/27/95
7.\"
8.Dd
9.Dt WHEREIS 1
10.Os BSD 3
11.Sh NAME
12.Nm whereis
13.Nd locate programs
14.Sh SYNOPSIS
15.Nm whereis
16.Op Ar program ...
17.Sh DESCRIPTION
18The
19.Nm whereis
20utility checks the standard binary directories for the specified programs,
21printing out the paths of any it finds.
22.Pp
23The path searched is the string returned by the
24.Xr sysctl 8
25utility for the
26.Dq user.cs_path
27string.
28.Sh SEE ALSO
29.Xr sysctl 8
30.Sh COMPATIBILITY
31The historic flags and arguments for the
32.Nm whereis
33utility are no longer available in this version.
34.Sh HISTORY
35The
36.Nm whereis
37command appeared in 3.0BSD.
38