I am on a fresh CentOS machine and whenever I use locate or updatedb to search for a file, it tells me "command not found".
What is the reason? How do I install locate or updatedb on the server?
Install slocate to run locate/updatedb on your CentOS or RedHat linux server as follows:
yum install slocate
Thanks it worked!
Install slocate to run locate/updatedb on your CentOS or RedHat linux server as follows:
Thanks it worked!