If your mac has spotlight,
mdfind is a much better command line too for locating a file.
Next in speed / efficiency would be locate (which uses a typically week old cached version of the
find command to index files)
Lastly the slower
find to crawl the directory from a root folder you wish to begin the search.
All the tools can fail to find files, mdfind has built-in exclusions (few and mostly system cache and internal files), locate can be out of date and excludes sone files by rule as well, find of course needs permission to traverse directories so it can fail to find files that have restrictive permissions.
You can of course use the finder to search spotlight (which is basically what
mdfind does) and ask to include system files assuming your file is squirreled away in some temporary folder and not being found by the default spotlight settings... Command+Option+Space