WHICH(1) | General Commands Manual | WHICH(1) |
which
— locate
executable within PATH
which |
[-as ] name... |
The which
utility scans
PATH
for each given executable
name.
which
shall not be used when the standard
sh(1) builtin command
-v
name can be used
instead.
The which
utility exits 0 on
success, and >0 if an error occurs.
A which
command first appeared in
3.0BSD.
The -a
option first appeared in
OpenBSD 2.3.
Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
2024-05-29 | Linux 6.6.67-gentoo-x86_64 |