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
Translation (mRNA to protein) | Biomolecules | MCAT | Khan Academy
So we already know that chromosomes are made up of really long strands of DNA all wound up into our into themselves. Something like I’m just kind of drawing it as a random long strand of DNA all wound up in itself. On that strand, you have sequences which…
How to stop quarantine from ruining your life
When self-isolation first started, I was like, “You know what? This is gonna be a piece of cake! I work from home, I’m at home all the time, this should be a cakewalk.” [Applause] [Music] It was a lot harder than I thought it would be, especially at the b…
I Got Covid
So as you can see from the title, I got COVID. Initially, I held back from talking about this since, one, I wanted to make sure I wasn’t experiencing any long-lasting side effects before sharing my own experience, and two, I was nervous because I guess th…
Standard normal table for proportion below | AP Statistics | Khan Academy
A set of middle school students’ heights are normally distributed with a mean of 150 cm and a standard deviation of 20 cm. Darnell is a middle school student with a height of 161.405, so it would have a shape that looks something like that. That’s my hand…
Charlie Munger: How to Get Rich Starting at $0
Sew a lot of videos out there claim they will help make you rich, but these five wealth building principles from Charlie Munger actually will. When you type in the words “how to get rich” in YouTube or in the Google search bar, you get flooded with all so…
Cannon Shock Waves in Ultra Slow Motion - Smarter Every Day 200
Hey, it’s me Destin. Welcome back to Smarter Everyday. Today, we’re in rural Tennessee for an actual artillery competition. And if you learn anything from this truck that’s coming up behind me, this is pretty legit. There’s dudes from all over the country…