Locate (Unix)
From Wikipedia, the free encyclopedia
This article is about the Unix utility. For a definition of the word "locate", see the Wiktionary entry locate.
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.
References
- ↑ Ref: Usenix ;login:, Vol 8, No 1, February/March, 1983, p. 8.
External links
- – FreeBSD General Commands Manual
- GNU Findutils
Variants:
- slocate (Secure Locate) at the Wayback Machine (archived February 4, 2009)
- : slocate – Linux General Commands Manual on linuxmanpages.com
-
mlocate
- faster updates- : mlocate – Linux User Commands Manual
- rlocate - always up-to-date
- KwickFind - KDE GUI frontend for locate
- Locate32 for Windows Windows analog of GNU locate with GUI, released under GNU license
|
This article is issued from Wikipedia. The text is available under the Creative Commons Attribution/Share Alike; additional terms may apply for the media files.