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
Place value when multiplying and dividing by 10 | Math | 4th grade | Khan Academy
What is 700s * 10? Well, let’s focus first on this times 10 part of our expression. Because multiplying by 10 has some patterns in math that we can use to help us solve. One pattern we can think of when we multiply by 10 is if we take a whole number and…
3 tips for finding a job on YC's Work at a Startup
[Music] [Applause] [Music] [Applause] Thanks for joining Y Combinator’s Work at a Startup and welcome to the YSE network. I’m Ryan and I’m here to help you find your dream job. Y Combinator is an accelerator that has invested in companies like Coinbase, …
Finding inverses of rational functions | Equations | Algebra 2 | Khan Academy
All right, let’s say that we have the function f of x and it’s equal to 2x plus 5 over 4 minus 3x. What we want to do is figure out what is the inverse of our function. Pause this video and try to figure that out before we work on that together. All righ…
Gordon Tries Smoked Oysters | Gordon Ramsay: Uncharted
They’re all live oysters. This is all live oysters, so they’re everywhere. I’m here in Maine on North Haven Island, where I’m going to harvest oysters with Adam, a local farmer of America’s favorite mollusk. This little tiny bed can produce 250 to 300,000…
Ray Dalio on The Big Debt Cycle
Just frame for us your thoughts on debt for a second. How do you think about debt as an absolute construct or a relative construct, especially sovereign debt? You know, there is a US debt, but then there are also every other 182 countries who have a ton o…
How to Finally Defeat Procrastination and Stop Wasting Time
Let’s be honest, you’re probably procrastinating while watching this video. And because of this, I’m going to keep this as practical and concise as possible. In life, you’re often deciding whether to approach or avoid something. You’re always making a jou…