Linux which

From John Freier
Revision as of 14:26, 18 November 2015 by Jfreier (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.