[Ilugc] One Day One GNU/Linux Command (WHEREIS)

  • From: sivakumar@xxxxxxxxxx (Sivakumar Gopalan)
  • Date: Thu Aug 7 11:22:44 2008

Just a thought. Here is the difference between whereis, locate and which

whereis - can find any file, but looks only in standard locations.

locate - can find any file from any location, however there should be a
locatedb update run frequently to have accurate results.

which - can find executables which are in the path variable.

Rgds,
Siva.

Other related posts: