tldr/pages/common/which.md

13 lines
304 B
Markdown
Raw Normal View History

# which
2018-05-11 05:10:16 +01:00
> Locate a program in the user's path.
> More information: <https://manned.org/which>.
- 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}}`