Update Locate Database on FreeBSD

Have the system we are using FreeBSD, we are searching the files. When using whereis can not find the file, then we will use locate.
However, if our system has been installed, we often see an error message when executing this command locate. Error message is as follows:
locate: database too small: /var/db/locate.database
How to update the database which is owned by the locate this?
You can create or update the database again owned by the locate by using the command:
/usr/lib/locate.updatedb
Hopefully useful.
Add this page to your favorite Social Bookmarking
Keep This Site Alive
Your Comments on Tips and Tricks:
- Update Locate Database on Free...
For me (FreeBSD 7.1) it is /usr/libexec/locate.upd... More... - Update Locate Database on Free...
Terimakasih banyak !! :lol: More...


Comments
/usr/libexec/locate.updatedb
RSS feed for comments to this post.