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
Mar 022008
 

Audible ping

Answer:

Sometimes you want to listen your machine pinging another machine (remote machine), especially you want to know when the remote machine is alive when you have issued a reboot.

It is easy with the ping command.

# ping -a google.com

Open your speaker to listen.