Search
Categories
Ad

Install locate and updatedb on CentOS and Debian

Problem

‘locate’ and ‘updatedb’ commands are the best commands to search files on Linux. However, you dont have them installed on your Linux.

Solution

Use these commands. On Debian,

sudo apt-get install locate

, and on CentOS,

sudo yum install mlocate

Leave a Reply