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
Galileo the Scientific Parrot
Okay, so we’re at the University of Sydney to experiment with Dr. Phil’s dead bird. He’s a famous scientist, this guy. He helped us out back in, uh, the 16th century, I think. Uh, the 17th century, isn’t it? 17th century, 1600s. Thank you! Galileo was, u…
Get a Tour of the Student Experience on Khan Academy
Hi everyone, this is Jeremy Shifling of Khan Academy. I’m joined by our amazing leader of professional learning, Megan Patani. Megan has a real treat in store for you today because she’s going to walk you through not the educator experience that you’re us…
Hierarchies of Competence
Generally speaking, it’s not the case that our hierarchies of competence are reasonably functional and not only are they functional, they’re valuable. We need to know who the competent people are, and we need to reward them. Even more importantly, we need…
15 Things The Rich Don’t Have to Do
Rich people don’t worry about where their next meal is going to come from or if they’ll be able to make rent on Friday, but these are caused by a direct lack of money. Rich people use their money to build infrastructure around themselves so they don’t hav…
Boost writing skills with Khan Academy's new essay feedback feature
Hey there! If you’ve heard of Kigo KH Academy’s AI-powered tutor and teaching assistant, you probably know about how it’s been developed to help students solve math problems without giving away the answer, strengthen arguments through debate, or break dow…
Beautiful and Elusive: This Bird Is Losing Its Home | National Geographic
[Music] My name is Roger Factor. I’m a conservationist working for the Wildlife Conservation Society. Most of my weekend, actually, when I’m not busy doing some other thing on conservation, I’m out bird-watching. We are inside the Colloforus today, just…