Admins eHow SysAdmin Tips & Tricks

August 5, 2009

Install locate and updatedb on CentOS and Debian

Filed under: CentOS,Debian,General — Tags: , , , , — admin @ 3:55 pm

locate and updatedb commands are the best commands to search and find files in Linux. if you dont have them installed on your Linux , use the following commands :
Debian :

apt-get install locate

CentOS :

yum install mlocate
  • Tonkqiscool

    thanks

  • Jagan

    Thanks. Timely help.

  • Smoothsd

    thanks for the post

  • noname@noemail.com

    thanksss brooo

  • Dobrzan

    Execute command “updatedb” to index new files just created. There is cron job to update locate DB, one a day, I think around midnight.

  • Awesome

  • Thanks

  • Vivek

    Great

Powered by WordPress