Difference between revisions of "Linux which"
From John Freier
(Created page with "This command is helpful for located where a command is. Example which java return /usr/bin/java Not really sure what is the difference between '''which''' and '''where...") |
|||
Line 3: | Line 3: | ||
Example | Example | ||
− | which java | + | #which java |
return | return |
Latest revision as of 13:26, 18 November 2015
This command is helpful for located where a command is.
Example
#which java
return
/usr/bin/java
Not really sure what is the difference between which and whereis but sometime whereis does not return any results.