This command will locate a pattern in a database of filenames and will return the filenames that match. Example: locate .html The return would be all files with .html in the name. Here is an example with results when trying to locate all files with an .sh extension.

mike@ub:~$ locate .sh

















Notice in the above example that the return includes files that have .shlibs.