yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

List All Of Your Files


2m read
·Nov 3, 2024

Macons, ah, no one here today. This is going to be a brief terminal lesson on how to, um, basically add a listing of every file on your computer to one file. That way, you'll be able to click “find” that file you're looking for, a specific one.

Okay, so I'm going to just open Terminal, so wait one second.

Okay, and then you want to do is you want to type the following command: CD Desktop. CD space Desktop. Put that in the description. Then you type—just make sure I'm in the right place. Now we can type the following command: LS space dash L capital R space / space greater than symbol. So that's shift period, and then let's call it file list dot txt.

It's going to list every file that I have permissions to read into file list dot txt. I've already made one just to demonstrate while it's loading, called files dot txt, and this will take a long time, by the way.

Anyway, here's files dot txt. This has every file on my computer in it, so you can see all these folders and applications, a few other things. There is a whole load of stuff you’ll see in here.

So yeah, so you'll get a few permissions denied here unless you're root, but I'm not root, so… Okay, so now this is going to take a very long time, so I'll just do a cut here.

Loads. So there we go, looks like it's created it here. So let's take a look. Yep, here it is. So here's the file list. Now I can click “find” for an application like—let's look for, say, intro introduction at HTML.

So you can click “find” through all your files till you find the file you want. That's pretty cool. It's just really nice to have every file on your hard drive in this one file.

So thanks for watching, Mac heads. Um, subscribe and goodbye.

More Articles

View All
Hosain Rahman at Startup School SV 2014
Thank you for coming. I hope to do not much talking at all, and I’m going to just ask you because it’s sort of a strange thing you have this. I want you to sort of go through the chronology of the early days, yeah. Um, and talk about you really did have a…
Stop Trying to Get It And You'll Have It | The Backwards Law
What if we’d try not to think of a pink elephant? This probably won’t work. Because as soon as the pink elephant appears in our minds, it’s impossible to get rid of it by consciously not thinking about it. And the more we try to get rid of it, the more it…
Anthony Bourdain and "the Sweet Spot" | StarTalk
So even something as simple as scrambling an egg is essentially a scientific manipulation of an ingredient by exposure to both heat and movement, and incorporating an area making it behave—an egg behaving in the desired way. It reminds me—this is an obsc…
Quadratic approximation formula, part 2
Line things up a little bit right here. All right, so in the last video, I set up the scaffolding for the quadratic approximation, which I’m calling q of a function, an arbitrary two-variable function which I’m calling f. The uh, the form that we have rig…
THE FED JUST BAILED OUT THE STOCK MARKET
What’s up you guys, it’s Graham here. So, over the last few months, a lot has changed in the investment world. Interest rates have plunged to zero, trillions of dollars have been printed into our economy to help lift it back to life, toilet paper is now t…
Demographic transition model| Human populations| AP Environmental science| Khan Academy
In this video, we’re going to study something called the demographic transition model, which is something demographers use. The demographers are people who study the makeup of populations and how those transition over time and why that might happen. This …