whereis(1) - NetBSD Manual Pages

WHEREIS(1)                  NetBSD Reference Manual                 WHEREIS(1)


NAME
whereis - locate programs
SYNOPSIS
whereis [-p] program [program ...]
DESCRIPTION
The whereis utility checks the standard binary directories for the speci- fied programs, printing out the paths of any it finds. The default path searched is the string returned by the sysctl(8) utility for the ``user.cs_path'' string. If the [-p] option is specified, then the value of the environment variable PATH is used instead.
SEE ALSO
which(1), sysctl(8)
COMPATIBILITY
The historic flags and arguments for the whereis utility are no longer available in this version.
HISTORY
The whereis command appeared in 3.0BSD. NetBSD 1.5.2 April 27, 1995 1

Powered by man-cgi (2024-08-26). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.