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
Scientists stumble upon a 12-foot long male tiger shark | Sharks of the Bermuda Triangle
This one looks good. Oh boy! Then, after nearly an hour swimming like a tiger, it’s a tiger! There’s a bite—got a beautiful tiger shark! Oh my God! Dr. Austin Gallagher caught a tiger shark in the Bermuda Triangle, but it’s not Mabel; it’s a 12-foot long …
Sampling distribution of sample proportion part 2 | AP Statistics | Khan Academy
This right over here is a scratch pad on Khan Academy created by Khan Academy user Charlotte Allen. What you see here is a simulation that allows us to keep sampling from our gumball machine and start approximating the sampling distribution of the sample …
"Where Love Is Illegal": Chronicling LGBT Stories of Love and Discrimination (Part 1) | Nat Geo Live
I’m really grateful to be here, and the reason I’m so grateful is actually, you’re really helping me out. I made a promise to the people whose photograph… photographs who you’ll see tonight. I promised them that their stories would be heard, and you’re he…
15 Things That Keep You Broke & Tired (Gen-Z/Millennial Edition)
Every generation is raised by one that’s already outdated. Gen Z and Millennials are dealing with different challenges than any other previous generation, and this is causing massive spikes in anxiety and stress. So let’s break it all down, shall we? Here…
The TRUTH behind why Tai Lopez ads are SO EFFECTIVE
Tai Lopez ads are some of the most effectively crafted ads I have ever seen. To make a video like this, I watched every single Tai Lopez ad I could from beginning to end just so I could better understand the fundamentals of what was really going on from a…
This Platform Might Be Worse Than TikTok
We’ve talked extensively about the dangers of Tick Tock, but what if I told you that Snapchat was way more dangerous? While Tick Tock’s influence is more subtle in psychological terms, Snapchat puts young people at immediate, sometimes life-threatening ri…