Home
        <a name=

locate

Find files.

SYNTAX
      locate [options] pattern

Options

   -d path, --database=path
                Search databases in path.
                path must be a colon- separated list.

   -h, --help   Print a help message and exit.

   --version    Print version information and then exit.

Search database(s) of filenames and print matches. *, ?, [, and ] are treated specially; / and . are not.

Matches include all files that contain pattern, unless pattern includes metacharacters, in which case locate requires an exact match.

Related commands:

slocate - Security Enhanced version of GNU Locate
(users won't see files they don't have access to.)
find - Search for files that meet a desired criteria
fnmatch
weekly.conf