Today's article is a brief overview of the locate command...

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
6,711
Reaction score
5,862
Credits
54,040
It's brief and only covers the locate command, though I may have to do an article about how you can use locate with other commands.

Anyhow, it's nice and easy - I think. So, even new folks can probably follow along and get it.


Feedback is alright. Just alright...
 


SlowCoder

Gold Member
Gold Supporter
Joined
May 2, 2022
Messages
456
Reaction score
314
Credits
3,611
Though locate is faster than find, I'm not a fan. Locate is good for simple searches of semi-static files, but I like find as it's much more extensible, and functional for a living, changing filesystem.
 
OP
K

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
6,711
Reaction score
5,862
Credits
54,040
I sometimes use it to count stuff - like how many *.mp3 files exist. With some creative adjustments, you can even make it index external drives.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top