Files
tldr/pages/common/which.md
2018-05-11 14:51:45 +05:30

12 lines
256 B
Markdown

# 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}}`