Update the database of the command ‘locate’
Here is how to update manually the database of locate:
sudo /usr/bin/updatedb
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. Of course, it was not yet in the database.
Comments (0)
Trackbacks (0)
Leave a comment
Trackback