mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-22 10:51:15 +00:00
Update cheatsheets
This commit is contained in:
17
which
Normal file
17
which
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# which
|
||||
|
||||
> 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}}`
|
||||
Reference in New Issue
Block a user