World Library  
Flag as Inappropriate
Email this Article

Locate (Unix)

Article Id: WHEBN0003522125
Reproduction Date:

Title: Locate (Unix)  
Author: World Heritage Encyclopedia
Language: English
Subject: Xargs, Locate, GNU Find Utilities, Information retrieval systems, History (Unix)
Collection: Gnu Project Software, Information Retrieval Systems, Searching, Unix File System-Related Software
Publisher: World Heritage Encyclopedia

Locate (Unix)

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.


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

External links

  •  – FreeBSD General Commands Manual
  • GNU Findutils
  • mlocate site


  • slocate (Secure Locate) at the Wayback Machine (archived February 4, 2009)
  • mlocate - faster updates
  • 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 was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.