Linux tools you NEED TO KNOW! Locate #linux #linuxcommands #programming

preview_player
Показать описание
Locate is an amazing Linux utility for finding files on your machine
Рекомендации по теме
Комментарии
Автор

Really interesting, keep it up! You are one of the few channels that I’m consistently not disappointed by ahahaha.

stefanosanagnostou
Автор

If one is still stuck on Windows for any reason, the Everything utility is crazy fast.

Glad to know as I transition, I have a good utility in Linux.
Thank you sir!

Rood
Автор

Nice. I like fzf + zoxide combo but I'll try out locate for a while and see if it's more productive

beavertheory
Автор

I'm really liking these terminal videos. I've learned a few things in tools I've used for years and stuff I already know is nicely explained and a great resource to use for others.

steveaguay
Автор

how did you make your terminal so pretty?

shattre
Автор

Nice, handy when i use WSL on windows.

battledj
Автор

Really interesting… Does it also keep track of my Google/OneDrive files?

sajankumarvijayan
Автор

Also on Arch there is a Pacman Hook in the Aur that automatically updates mlocates database everytime you install or update a program

urmensch
Автор

Do you have to routinely update the DB then? How does the DB track the changes in the filesystem?

varungawande
Автор

Do you have to constantly update the db to have an up to date index?

Avantii
Автор

What about opening the start menu and just type?

jean-francoisbouchard
Автор

How long does it take to build the index?

joebonsaipoland
Автор

What's different between locate and which? 😅

UltraViolentYT
Автор

Hmm, might be worth it, but until now I have just been using the classic find command.
If you only run a single search command every once in a while, a database driven search loses it's benefits. And especially on a rolling distro like Arch, things in the system change a lot more often.

Additionally, I recently discovered that the KDE (which I started using recently) already runs an indexer called Balloo, by default on home directory if I am right, but I can also configure it to do more, so at least for GUI based searches, the problem is already solved. But maybe it has some command line tool as well (I yet have to find that out).
So yes of course I can install even more tools, but actually running multiple of those indexers makes the situation even more inefficient.

jongeduard
Автор

Does it mean I have to update the database every now and then with the sudo command so that locate can keep track of newer files?

umran
Автор

How do you get your command line like that?

furkan
Автор

Hmm, what about writing a custom fs where files are automatically indexed? 🤔 Normally I don't have to search as I remember every file since 30 years back but it is an interesting problem for those who don't

savagesarethebest
Автор

Does updatedb run periodically or do you need to set that up to gets its index updated?

scottfwalter
Автор

Why would you want to use terminal instead of files or Dolphin using your gui?

Otakubro
Автор

So how about if there are new files? Do i need to run updatedb always? (Curious)

mark-d-creator