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
Alaska the Final Frontier (Clip) | Alaska: The Next Generation
Trying to raise family in Alaska. Not exactly safe. You just need to keep your eye out. That’s why I start packing a little bit bigger gun. We really came out here just to follow our dream of living the subsistence life. If I was a brand new rookie out he…
Bonus Episode: Bicycles, Better Angels and Biden | Podcast | Overheard at National Geographic
Every four years during the third week of January, the presidential inauguration takes over downtown Washington, D.C. Okay, it’s uh Saturday afternoon about 2:30, and I’m about to ride my bike into D.C. and just do a kind of a loop around Capital Mall. It…
Estimating with multiplication
In this video, we’re going to get a little bit of practice estimating with multiplication. So over here, it says question mark is, and you have the squiggly equal sign. You could view that squiggly equal sign as being, “What is this roughly equal to?” It …
Ray Dalio: The 3 Biggest Issues for the Economy in 2021
[Music] So a few weeks ago, Ray Dalio, the founder of the world’s biggest and most successful hedge fund called Bridgewater Associates, he sat down with CNN to do an interview and give his updated thoughts and opinions on the economic situation heading i…
Developing an American colonial identity | Period 2: 1607-1754 | AP US History | Khan Academy
[Instructor] The first long-term English colony in North America was established at Jamestown in 1607. No one expected that it would last very long. It was intended to be a get-rich-quick scheme for its investors, who hoped they would find gold in the swa…
The Strange and Wonderful World of the 'Snail Wrangler' | Short Film Showcase
I always like to ask my audience, when you think about land snails, what’s the very first word that pops into your head? Just one word. Hello? Yes, what else? Slimy? What else? Holes in your knees? So, damage to your garden. A little more background on …