Kurinchi Blogger Scribbles …


Archive for August 29th, 2009

Aug 29
2009

Linux: which vs. whereis command difference

Last updated: September 3rd, 2009

Difference between which command and whereis command in Linux

For e.g. lets find where “samba” is located in a CentOS server

$ which samba
which command searches the list of programs listed down through the PATH settings

$ whereis samba
whereis command also searches for programs that are not present in the PATH setting


Valid HTML 4.01 Strict  Valid HTML 4.01 Strict