tldr/pages/common/which.md

13 lines
225 B
Markdown

# which
> Locate the a program in the user's path
- Display the path of an executable program
`which {{ls}}`
`which {{executable}}`
- If there are multiple executables which match, display all
`which -a {{executable}}`