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
Snow DNA Reveals New Way to Track Animals in Winter | Short Film Showcase
I’ve learned to appreciate the quiet in the cold. It’s just not something you did in any other place and in any other season. We’re the loudest things out there, thinking about rare species. They’re such an important part of the landscape and something th…
exposing the dark side of rent control...
What’s up you guys! It’s Graham here. So I’m gonna go on a limb and make this video, and I realize that it’s a bit of a risky topic for me to be discussing: rent control, just given the complexities of the situation. But let’s give it a shot! I’m also gon…
Who Is Responsible For Climate Change? – Who Needs To Fix It?
Since the Industrial Revolution, humans have released over 1.5 trillion tons of carbon dioxide or CO₂ into the Earth’s atmosphere. In the year 2019, we were still pumping out around 37 billion more. That’s 50 percent more than the year 2000 and almost thr…
Free energy of dissolution | Applications of thermodynamics | AP Chemistry | Khan Academy
The term dissolution refers to the dissolving of one substance in a solvent. The dissolved substance is now called a solute, and the solute plus the solvent form a solution. If the standard change in free energy, delta G naught, is less than zero, the dis…
how to ACTUALLY stop wasting time on social media
Another day went by, and you spent your whole day scrolling on social media while laying on your bed. You might look back and think, “What did I do today?” Most of us have projects and some activities that we would like to do someday, but for some reason,…
It's Over: Why I'm Cancelling My American Express
Dear American Express, It is with great sadness and a heavy heart that I announce it’s over. Even though we’ve shared some unforgettable moments, bought beautiful experiences together, and dined in fancy airport lounges, you’ve changed, and now it feels …