which-(1f) - [FUNIX:FILESYSTEM] shows the full path of (shell) commands. (LICENSE:PD)
Synopsis
Description
Options
Return Value
Example
Author
License
which- program_leafname [ --all| -a]|[ --help|--version]
which-(1f) takes one or more pathnames. For each of its arguments it prints to stdout the full path of the executables that would have been executed when this argument had been entered at the shell prompt. It does this by searching for an executable or script in the directories listed in the environment variable PATH.
--all,-a Print all matching executables in PATH, not just the first. --version Print version information on standard output then exit successfully. --help Print usage information on standard output then exit successfully.
Which returns the number of failed arguments, or -1 when no programname was given.
John S. Urban
Public Domain
Nemo Release 3.1 | which- (1) | February 23, 2025 |