locate
Find filenames quickly. tldr-pages
On Linux, macOS
Linux
Look for pattern in the database. Note: The database is recomputed periodically (usually weekly or daily)
locate "pattern"IdentifyLook for a pattern case-insensitively
locate --ignore-case "pattern"IdentifyLook for a file by its exact filename (a pattern containing no globbing characters is interpreted as *pattern*)
locate "*/filename"IdentifyRecompute the database. You need to do it if you want to find recently added files
sudo updatedbIdentifymacOS
Look for pattern in the database. Note: The database is recomputed periodically (usually weekly or daily)
locate "pattern"IdentifyLook for a pattern while ignoring cases
locate -i "pattern"IdentifyLook for a file by its exact filename (a pattern containing no globbing characters is interpreted as *pattern*)
locate "*/filename"IdentifyRecompute the database. You need to do it if you want to find recently added files
sudo /usr/libexec/locate.updatedbIdentify