Thu . 19 May 2019

locate (Unix)

locate unix command, locate file in unix
locate is a Unix utility which serves to find files on filesystems It searches through a prebuilt database of files generated by the updatedb command 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

locate was first created in 19821 The BSD and GNU Findutils versions derive from the original implementation2 Their primary database is world-readable, so the index is built as an unprivileged user

mlocate Merging Locate and the earlier slocate Secure Locate use a restricted-access database, only showing filenames accessible to the user34


  1. ^ Woods, James A 1983-01-15 "Finding Files Fast" ;login: Vol 8 no 1 Usenix pp 8–10 Retrieved 2016-03-27 
  2. ^ "Finding Files" GNU Free Software Foundation 2012-11-17 Retrieved 2016-03-27 GNU locate and its associated utilities were originally written by James Woods, with enhancements by David MacKenzie 
  3. ^ Miloslav Trmač 2005 "mlocate" Archived from the original on 2006-04-11 Retrieved 2016-03-27 faster and does not trash the system caches as muchattempts to be compatible to GNU locate, when it does not conflict with slocate compatibility 
  4. ^ Kevin Lindsay 1999 "Secure Locate" Archived from the original on 2005-05-07 Retrieved 2016-03-27 will also check file permissions and ownership so that users will not see files they do not have access to 

External linksedit

  • GNU Findutils
  • mlocate
  • locate1 – FreeBSD General Commands Manual
  • locate1 – OpenBSD General Commands Manual


  • rlocate - Variant using kernel module and daemon for continuous updates
  • KwickFind - KDE GUI frontend for locate
  • Locate32 for Windows - GPL'ed graphical Windows variant

locate command in unix, locate command unix, locate file in unix, locate in unix, locate unix command

locate (Unix) Information about

locate (Unix)

  • user icon

    locate (Unix) beatiful post thanks!


locate (Unix)
locate (Unix)
locate (Unix) viewing the topic.
locate (Unix) what, locate (Unix) who, locate (Unix) explanation

There are excerpts from wikipedia on this article and video

Random Posts

Body politic

Body politic

The body politic is a metaphor that regards a nation as a corporate entity,2 likened to a human body...


Kakamega is a town in western Kenya lying about 30 km north of the Equator It is the headquarte...
Academic year

Academic year

An academic year is a period of time which schools, colleges and universities use to measure a quant...
Lucrezia Borgia

Lucrezia Borgia

Lucrezia Borgia Italian pronunciation: luˈkrɛttsja ˈbɔrdʒa; Valencian: Lucrècia Borja luˈkrɛsia...