Using locate to find a file, instead of find
locate is a good alternative to using find
As noted in the finding the Tools/scripts subdirectory in stackoverflow:
This command
$ locate "Tools/scripts/diff.py"
will find the location of the file if it's installed. This depends on the database generated regularly by the updatedb command (this usually runs …