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
Ray Dalio and Elliot Choy on Why Money Shouldn't be an End Goal
Or do you ever see people around you that make the mistake of thinking that money is the actual goal? Then they maybe got into it aiming to achieve freedom or these other things, security. But then they are just so caught up in moving that goal post that …
Catch of the Week - Hooked on a Monstah | Wicked Tuna
All right, behind the boat, you can see we’re right in the whales, circling us like jaws. It’s really good time for some June. It’s embark J. Yeah, we run real, real, real. You gotta pull it all the way, work it down. All right guys, you keep going. This…
How Bill Ackman DESTROYED the Market by 3,023%
Big part of investing is not losing money. If you can avoid losing money and then have a few great hits, you can do very, very well over time. Billionaire investor Bill Amman just shared his secret five-step formula for successfully investing in the stock…
Green Flags Of Financially Educated Person
One of the biggest problems that plagues the happiness of this world is a lack of financial education. Too many people have little to no understanding of how money moves around the world, and you can tell when someone is financially educated by checking f…
AP US history long essay example 3 | US History | Khan Academy
This is the third video in a series about tackling the long essay question on the AP US History exam. Now, in the last video, we were kind of weighing the evidence about the New Deal, considering the ways in which the government, the economy, and race, c…
15 Crucial Decisions Everyone Needs To Make
The Alex lady you all know and love is still around. We have a lot of work to be done, so we got a new team member. Me think of me as the Alex lady’s helper. Okay, back to the video: 15 crucial decisions everyone needs to make. Life is a roller coaster o…