Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Wondering if someone can enlighten me as I believe that perhaps my expectations are wrong. When I use locate I almost never get what I am expecting. For example... I removed a software package and ran locate to get an entire screen of entries that don't exist (yes, I went down the the list and checked one by one).

On the flip side... things I can see in the file manager many times don't show up. I am confused and could use some advice.

share|improve this question
up vote 4 down vote accepted

locate uses a database to know which files are where. This database is normally updated nightly as a cron job.

You can manually update it with updatedb

share|improve this answer
    
I didn't expect an answer that actually made sense. Thank you. – aserwin May 6 '13 at 0:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .