[lug] Efficiency prioritized Linux desktop

Steve Litt slitt at troubleshooters.com
Tue Apr 14 12:41:12 MDT 2020

On Tue, 14 Apr 2020 08:49:01 -0600
"Jeffrey S. Haemer" <jeffrey.haemer at gmail.com> wrote:

> Rob,
> > find | grep something  
> locate(1) is awfully fast, too.

If you have a cron job that does the updatedb every night, and if it's
not a horrible error if it misses something newer than last night,
that's a great idea.

Where locate really shines is when you have no idea where in the
filesystem something exists. Using the find command off the root
directory is almost always obscenely slow, and my experience is it can
often stop on something like a fifo.

Thanks for the great idea.

Steve Litt
March 2020 featured book: Troubleshooting: Why Bother?

More information about the LUG mailing list