Unix/Linux Go Back    


NetBSD 6.1.5 - man page for whereis (netbsd section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


WHEREIS(1)			   BSD General Commands Manual			       WHEREIS(1)

NAME
     whereis -- locate programs

SYNOPSIS
     whereis [-p] program [program ...]

DESCRIPTION
     The whereis utility checks the standard binary directories for the specified 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.

EXIT STATUS
     The whereis utility exits 0 on success, 1 on general error, 2 if only some programs were
     located and 3 if none were.

SEE ALSO
     whatis(1), 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.

BSD					  April 3, 2003 				      BSD
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 11:44 PM.