It depends.... (I know people hate that answer) TL;DR; Making a database of dirent entries is one thing. The 'find' command can look inside files while 'locate' (in the various versions like plocate) will look at the filename in the filesystem dirent entries.
On Sat, May 16, 2026 at 1:04 PM <[email protected]> wrote: > > I tend to avoid the use of find (1) because I never really "internalized" the > syntax) and (2) on the assumption that it hits the disk "harder" than locate. > > > > I mean, updatedb runs once a day (on my systems) and I assume (I know) that > its database is mostly cached somewhere, but I don't really know how it finds > new files. > > > > Is there any validity to the idea that find is harder on disks (hits them > more often / more widely) than locate? -- - Andrew "lathama" Latham -

