Example:-
locate myfile
List any file on the system that contains the name ``myfile''. Locate is very fast as it just looks up names in a database of names that is recreated regularly, so it may not find any very recently created file. In which case use find instead.