Command LOCATE usage and errors fixing

Need to find a file fast on a linux filesystem? Use the linux locate command
[root@localhost /]# locate openssl
Possible error during command initialization:
locate: can not open `/var/lib/mlocate/mlocate.db
Type updatedb to fix this problem
[root@localhost /]#updatedb
  • rss
  • Del.icio.us
  • Digg
  • Twitter
  • StumbleUpon
  • Reddit
  • Share this on Technorati
  • Post this to Myspace
  • Share this on Blinklist
  • Submit this to DesignFloat