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
Expressing a quadratic form with a matrix
Hey guys, there’s one more thing I need to talk about before I can describe the vectorized form for the quadratic approximation of multivariable functions, which is a mouthful to say. So let’s say you have some kind of expression that looks like ( ax^2 ).…
Belonging | Short Film Showcase | National Geographic
Foreign. [Music] This is what I dream of. Sometimes it feels like I’m still there. [Music] One amongst hundreds of others like me, to travel far to be here is without a name. Thank you. We would watch the moon, rain the water darkened, then celebration…
Tracing function calls | Intro to CS - Python | Khan Academy
What exactly happens when the computer executes a function call? Well, let’s trace a program with a function definition to find out. When we run the program, the computer, as normal, reads the program line by line starting at the top of the file. When th…
Tax multiplier, MPC, and MPS | AP Macroeconomics | Khan Academy
So in this video we’re going to revisit another super simple economy that only has a farmer and a builder on an island, and we’re going to review what we learned about the multiplier and the marginal propensity to consume. But we’re going to do it a littl…
How to Get Everything Done in a Day
Do you have something you need to be doing right now but are avoiding like the Plague? Maybe you have a lot of stuff you need to do but you just keep putting it off, and you distract yourself from the discomfort of even thinking about it? Have you ever th…
Axe Ghost devlog - The bug that ruined the run
My name is Thomas K. I’m working on a game called Axe Ghost. It’s currently in development. There’s a demo on Steam, and my good friend Rishad Buser, he plays the beta version of Axe Ghost, and when he’s able, he streams his daily runs. Richard, by the wa…