353 B
353 B
which
Locate a program in the user's
$PATH. See also:whereis,type. More information: https://manned.org/which.
- Search the
$PATHenvironment variable and display the location of any matching executables:
which {{executable}}
- If there are multiple executables which match, display all:
which {{[-a|--all]}} {{executable}}