I want to locate a directory in my system using "locate" command. I know there is a directory named "bench-repo". when I'm giving the following command it shows me the following error :
locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory
Why is this happening? How can I find the directory?
sudo updatedb
and then run yourlocate
command again – Zanna Jul 19 '16 at 06:37