*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> whereis (1)              



NAME    [Toc]    [Back]

     whereis - locate programs

SYNOPSIS    [Toc]    [Back]

     whereis name [...]

DESCRIPTION    [Toc]    [Back]

     The whereis utility checks the standard  binary  directories
for the specified
  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    [Toc]    [Back]

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

STANDARDS    [Toc]    [Back]

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

HISTORY    [Toc]    [Back]

     The whereis command appeared in 3.0BSD.

OpenBSD     3.6                          April      27,      1995
[ Back ]
 Similar pages
Name OS Title
strstr Linux locate a substring
which Linux locate a command
memmem Linux locate a substring
zpfind FreeBSD locate a process by number
strstr OpenBSD locate a substring in a string
pfind FreeBSD locate a process by number
index NetBSD locate character in string
locate.updatedb FreeBSD update locate database
index Linux locate character in string
index FreeBSD locate character in string
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service