I am trying to teach myself some Linux commands using Ubuntu Mate 15.04 and am having trouble with the locate
command. I am in a directory that contains a file called testfile.txt
. I then run the following commands:
sudo updatedb
locate testfile
However, the system does not return any results. Running ls testfile*
does return the file name.
Thanks!