Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.