Jump to content

locate (Unix)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Beland (talk | contribs) at 02:07, 13 June 2015 (move to Category:Information retrieval systems). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

locate, a Unix utility first created in 1983,[1] serves to find files on filesystems. It searches through a prebuilt database of files generated by updatedb or by a daemon and compressed using incremental encoding. It operates significantly faster than find, but requires regular updating of the database. This sacrifices overall efficiency (because of the regular interrogation of filesystems even when no user needs information) and absolute accuracy (since the database does not update in real time) for significant speed improvements (particularly on very large filesystems).

The GNU version forms a part of GNU Findutils.

Some versions can also index network filesystems.

mlocate is a locate/updatedb implementation.

References

  1. ^ Usenix ;login:, Vol 8, No 1, February/March, 1983, p. 8.

Variants: