locate command on Linux
locate command find files on a linux server.
To install locate, run
On CentOS
1 |
yum install mlocate |
On Debian/Ubuntu
1 |
apt install mlocate |
locate searches through a static index of files. This is rebuild daily using cronjob. You can manually update it by running
1 |
updatedb |