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 daily database. The card pairs find with size, time, owner, and locate with quick name lookup.
Read card text
What this card says
Data
find
Walks the disk live.
locate
Reads a daily database.
Key points
Slow but current, many tests.
Instant, may be old.
Example
find / -name x
Use when
Size, time, owner.
Quick name lookup.