One Day One GNU/Linux Command
=============================
updatedb -- Update the locate DateBase
Summary :
locate command is doing the quick search by using the database
created by this updatedb command. Normally this command is run
by cron at some periodic interval to keep the DB upto date.
Example:
# updatedb -u -- Create DB starting at / (root).
# updatedb -U /home -- Create DB starting at /home
# updatedb -f vfat -- Don't update VFAT file system
# updatedb -e /proc,/tmp -- Don't update /proc and /tmp dirs
# updatedb -v -- Display all files indexed when creating DB
Read: man updatedb
HTH :)
--
Bharathi S