utility checks the standard binary
directories for the specified name
out the paths of any it finds that are executable by the user.
The path searched is:
If the -a
flag is given,
will return a list of all matches instead
of just the first match.
utility exits with one of the following
- All names were successfully resolved.
- Some names were resolved but not all.
- No names were resolved.
command first appeared in
, but the original version was legally tainted and
was not included as part of the 4.4BSD
that most of the original functionality was lost.
option first appeared in
The original version was written by Bill