0

difference between whereis and which command

What is the difference between these two commands whereis and which. Both will display the package location isn' t it???

Linux Advanced commands Add a comment
david
asked May 04 2017

Answer

0

which command will display only the path from where its get executed.

whereis command will show the path for executing as well as the binary, source code and also man page locations.

Add a comment
jagannatharumugam
asked May 04 2017
edited Oct 05 2018
Post your Answer