mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-09 09:49:10 +02:00
The page for `tar` changes pretty frequently. `which` was last updated in 2018 and is a rather simple command overall. So it is less likely that the reference in the repository has to be updated as often as the one for `tar`.
11 lines
256 B
Text
11 lines
256 B
Text
# which
|
|
|
|
> Locate a program in the user's path.
|
|
|
|
- Search the PATH environment variable and display the location of any matching executables:
|
|
|
|
`which {{executable}}`
|
|
|
|
- If there are multiple executables which match, display all:
|
|
|
|
`which -a {{executable}}`
|