The locate command is a handy tool that enables you to find files quickly.


Installing on Ubuntu

sudo apt-get install mlocate -y
sudo updatedb

Installing on MacOS

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
sudo /usr/libexec/locate.updatedb

Posted in