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
Surviving an Alligator Attack | Something Bit Me!
Back in a Florida river, an alligator has Fred Langdale dead in its sights and is approaching quickly. So in that moment, I’m thinking, what can I do? What can I do? Some of this stuff I’ve already thought about ahead of time because I’m in the water all …
Shower Thoughts: Paradoxes That Will Change Your Life
As light travels through space, it behaves like a wave, but light is also made of tiny particles called photons. This is the paradox of wave-particles, and it has completely revolutionized modern physics. The universe is filled with intriguing paradoxes l…
Rick and Morty Writer: Ryan Ridley
All right, man. We should probably jump into Rick and Morty at some point. Um, before we do that, uh, how about you just like give your background of up until Rick and Morty? So, I didn’t really know what I was doing with my life. I was a terrible studen…
Butterfly Takeoff at 2,000 Frames per Second - Smarter Every Day 79
[Music] Hey, it’s me, DTin. Welcome back to Smarter Every Day! The cat is disturbing homework time, so we’re going to take a break and make an intro. Every time I’ve observed a butterfly flying across a field, he looks like he’s a very poor flyer. He loo…
The Evolution of Ancient Egypt's Pyramids | Lost Treasures of Egypt
NARRATOR: The West Bank of the River Nile, home to the world’s most iconic monuments, the mighty pyramids of Giza. The pyramids once housed the bodies of the pharaohs. But though ancient Egyptian civilization lasted for nearly 3,000 years, its kings only …
5 Philosophical Questions Without Satisfying Answers
Some questions have been keeping humanity busy since the dawn of time. Moreover, complete civilizations and religions have been built around these questions. No matter how much we have debated, researched, and observed, there just doesn’t seem to be a sat…