which: Mention what a search path is. Remove explicit example.
This commit is contained in:
@@ -2,9 +2,8 @@
|
|||||||
|
|
||||||
> Locate the a program in the user's path.
|
> Locate the a program in the user's path.
|
||||||
|
|
||||||
- Display the path of an executable program:
|
- Search the PATH environment variable and display the location of any matching executables:
|
||||||
|
|
||||||
`which {{ls}}`
|
|
||||||
`which {{executable}}`
|
`which {{executable}}`
|
||||||
|
|
||||||
- If there are multiple executables which match, display all:
|
- If there are multiple executables which match, display all:
|
||||||
|
Reference in New Issue
Block a user