version 1.6, 2000/03/06 03:17:41 |
version 1.7, 2000/03/14 14:58:26 |
|
|
.Ar name Op Ar ... |
.Ar name Op Ar ... |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
.Nm whereis |
.Nm |
utility checks the standard binary directories for the specified name, |
utility checks the standard binary directories for the specified name, |
printing out the paths of any it finds that are executable by the |
printing out the paths of any it finds that are executable by the |
user. |
user. |
|
|
utility for the |
utility for the |
.Dq user.cs_path |
.Dq user.cs_path |
string. |
string. |
.Sh RETURN VALUES |
.Pp |
The |
The |
.Nm |
.Nm |
utility exits with one of the following values: |
utility exits with one of the following values: |
|
|
Some names were resolved but not all. |
Some names were resolved but not all. |
.It 2 |
.It 2 |
No names were resolved. |
No names were resolved. |
.It -1 |
.It \-1 |
A system error occurred. |
A system error occurred. |
.El |
.El |
.Sh SEE ALSO |
.Sh SEE ALSO |
|
|
.Xr locate 1 , |
.Xr locate 1 , |
.Xr which 1 , |
.Xr which 1 , |
.Xr sysctl 8 |
.Xr sysctl 8 |
|
.Sh COMPATIBILITY |
|
The historic flags and arguments for the |
|
.Nm |
|
utility are no longer available in this version. |
.Sh HISTORY |
.Sh HISTORY |
The |
The |
.Nm whereis |
.Nm |
command appeared in |
command appeared in |
.Bx 3.0 . |
.Bx 3.0 . |
.Sh COMPATIBILITY |
|
The historic flags and arguments for the |
|
.Nm whereis |
|
utility are no longer available in this version. |
|