locate searches a database for all pathnames which match the specified
pattern. The database is recomputed periodically, and contains the pathnames of all files which are publicly accessible.
Shell globbing and quoting characters (``*'', ``?'', ``\'', ``['' and ``]'') may be used in
pattern, although they will have to be escaped from the shell. Preceding any character with a backslash (``\'') eliminates any special meaning which it may have. The matching differs in that no characters must be matched explicitly, including slashes (``/'').
As a special case, a pattern containing no globbing characters (``foo'') is matched as though it were ``*foo*''.
Options:
-d dbpath
Sets the list of databases to search to dbpath which can name one or more database files separated by ``:'', an empty component in the list represents the default database. The environment variable LOCATE_PATH has the same effect.