tldr/pages/common/which.md

13 lines
224 B
Markdown
Raw Normal View History

# which
> Locate the a program in the user's path
- Display the path of an executable program
`which {{ls}}`
`which {{executable}}`
2015-10-22 08:31:52 +01:00
- If there are multiple executables which match, display all
`which -a {{executable}}`