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
Cost minimizing choice of inputs | Microeconomics | Khan Academy
We are now going to continue our discussion of factor markets, and we’re going to go beyond just thinking about labor as a factor. In fact, in this video, we’re going to start thinking about capital as well, which we know is another one of the factors of …
Having no charisma is ruining your life
Due to the internet age and people being on their phones all the time, people have lost the ability to communicate effectively with other people. And that’s probably not a secret to you at all. You’ve probably felt the effects of this in your own life. Th…
16 Shonen Anime Recommendations from a Japanese Otaku Girl🇯🇵
Hi guys, it’s me, Judy. Today I’m back with another video which was highly, highly, highly, highly, highly requested from you guys, which is my favorite animes and my recommendations. Basically, [Music]. So before even talking about my recommendations, j…
The Priceless Benefits of Not Belonging
The experience of not belonging can manifest itself in different ways. You may not have belonged to the popular groups at school, perhaps you don’t belong to a certain religious community, maybe you’re the town’s fool, or your family doesn’t want to see y…
Relating unit rate to slope in graphs of proportional relationships | Grade 8 (TX) | Khan Academy
A farmer sold 26 kg of tomatoes for $78. Which graph has a slope that represents the cost of tomatoes in dollars per kilogram? Pause this video, work through this on your own before we do this together. So, if we’re thinking about slope, slope is all ab…
Per capita GDP trends over past 70 years | Macroeconomics | Khan Academy
This is a chart from the New York Times that shows us how per capita GDP has trended on an inflation-adjusted basis since 1947. So you can really think about this as the post-World War II era. World War II, of course, ended in 1945. It’s always good to r…