Ravi Sir's Cards › AWS
find vs locate
This comparison card contrasts find and locate. find is described as walks the disk live. locate is described as reads a saved index. The card pairs find with by size or time, and locate with quick name lookup.
Read card text
What this card says
Speed
find
Walks the disk live.
locate
Reads a saved index.
Key points
Slow, always current.
Fast, may be old.
Example
find /etc -name '*.conf'
Use when
By size or time.
Quick name lookup.