PDA

View Full Version : How to update "locate" database?



TheTempest
03-25-2004, 07:40 PM
^ Subject.

When i call:


locate <program>


it says that the database is more than 8 days old. Is there a way for me to force a cashe update?

Thanks

aay
03-25-2004, 08:16 PM
As root: updatedb

But if you are looking for the location of a program which is on your path just use: which <program_name>.