Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

May 132008
 

Install mlocate for quick file search in Linux

Answer:

mlocate is a useful tool for quickly find files on the filesystem based on their name.

To install

# sudo apt-get install mlocate

After install, you would need to build the database for the first time

# sudo updatedb&

Now the database building/indexing is running in the background, when it is finished, you can use the locate command to lookup file in your filesystem.

# locate SHA1.pm
/usr/lib/perl5/Digest/SHA1.pm

  One Response to “Install mlocate for quick file search in Linux”

  1. [...] explained before, mlocate is a useful tool for quickly find files on the filesystem based on their [...]

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>