Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
WHEREIS(1)                 OpenBSD Reference Manual                 WHEREIS(1)

NAME
     whereis - locate programs

SYNOPSIS
     whereis name [...]

DESCRIPTION
     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.

SEE ALSO
     apropos(1), find(1), locate(1), which(1), sysctl(8)

STANDARDS
     The historic flags and arguments for the whereis utility are no longer
     available in this version.

HISTORY
     The whereis command appeared in 3.0BSD.

OpenBSD 3.4                     April 27, 1995                               1

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | STANDARDS | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=whereis&sektion=1&manpath=OpenBSD+3.4>

home | help