Updating locate database

But sometimes the database will be out of sync with whats really on the hard drives.

Well upatedb and locate are nice things but they require to run updatedb regularly (either updatedb runs regularly and this slows down your system at inconvenient times, or locate shows references to files which are not there anymore).

So I think that instead of setting up locate/updatedb it would perhaps be better to get familiar with (the far more powerful) find.

1) When does the database of locate command gets updated?

2) Do I ever need to change the update time of database? 4) Why do I need a find command when I can search things faster with locate command? DESCRIPTION updatedb creates or updates a database used by locate(1).

If the database already exists, its data is reused to avoid rereading directories that have not changed.




updatedb is usually run daily by cron to update the default database but if you don’t want to wait, you can launch it manually too.

For instance, once I installed a package and I wanted to figure out the path of a specific file.



  1. Pingback:

  2. eric   •  

    He, to the ever-increasing surprise, and did not continue, and asked, suddenly and directly: - Not at all, out of love!?

  3. eric   •  

    Polish online groups Wp.pl, owned by Innova Capital, and Onet.pl, controlled by Ringier Axel Springer could also be interested, some of the sources said."Allegro is a ready-made entry not only to Poland, but also the region," one market source told Reuters.

  4. eric   •  

    They have to try to hook up with one of four male Anime characters (who are the “stars” of the site) through “conversations” and must collaborate with other Webkare members in order to move on in the game.

  5. eric   •  

    Dr Dutton says: “We ranked them on persuasiveness, fearlessness, immunity to stress, egocentricity, rebelliousness, blaming other people, impulsiveness and cold-heartedness.” Each one was analysed using biographies, conversations with journalists, and actors who had played many of the figures on stage and screen.

Leave a Reply

Your email address will not be published. Required fields are marked *

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>