Package mlocate

An utility for finding files by name

mlocate is a locate/updatedb implementation. It keeps a database of
all existing files and allows you to lookup files by name.

The 'm' stands for "merging": updatedb reuses the existing database to avoid
rereading most of the file system, which makes updatedb faster and does not
trash the system caches as much as traditional locate implementations.

General Commands (Section 1)
locate reads one or more databases prepared by updatedb(8) and writes file names matching at least one of the PATTERNs to standard output, one per line. If...
File Formats (Section 5)
A mlocate database starts with a file header: 8 bytes for a magic number ("\0mlocate" like a C literal), 4 bytes for the configuration block size in big endian...
/etc/updatedb.conf is a text file. Blank lines are ignored. A # character outside of a quoted string starts a comment extending until end of line.
System Administration (Section 8)
updatedb creates or updates a database used by locate(1). If the database already exists, its data is reused to avoid rereading directories that have not...