How to refresh ‘locate’ database


Warning: in_array() expects parameter 2 to be array, string given in /usr/local/4admin/apache/vhosts/tarlink.com/httpdocs/wp-content/plugins/facebook-button-plugin/facebook-button-plugin.php on line 244

Warning: in_array() expects parameter 2 to be array, string given in /usr/local/4admin/apache/vhosts/tarlink.com/httpdocs/wp-content/plugins/facebook-button-plugin/facebook-button-plugin.php on line 246

From time to time you want to use ‘locate’ command on linux or unix system, but you can’t find what you’re looking for. It is time to update your database. Below I posted how to do it for linux and…