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
The secret to being more likeable
There be that man who just entered. You know that is which one, Chief, the man in the hat. [Music] That’s Simon the likable. I don’t care what his name is, Chief. I like him. Everybody at some point in their life has met someone who they would consider to…
The Web Is Not The Net
Hey, Vsauce. Michael here. Mimas is one of Saturn’s cutest moons. Its entire surface area is about the same as Spain, but its giant crater makes it look like the Death Star. And when NASA made a temperature map of Mimas, they found that the warmest region…
The Most Horrible Parasite: Brain Eating Amoeba
A war has been going on for billions of years that breeds well armed monsters, who struggle with other monsters for survival. Having no particular interest in us, most of them are relatively harmless, as our immune systems deal with their weapons easily. …
Domain and range of lines, segments, and rays | Algebra 1 (TX TEKS) | Khan Academy
So what we have here is two different F of XS defined by their graphs, and what we want to do is figure out the domain and the range for each of these functions. So pause this video and try to figure that on your own before we do that together. Now let’s…
10 THINGS INTELLIGENT PEOPLE AVOID - STOICISM
[Music] Life is a journey filled with choices, each one shaping our path and destiny. What if I told you that the key to a more purposeful and fulfilling life lies not in what you do but in what you choose to avoid? Intelligent people, those who truly thr…
Michael Burry Just Doubled Down on Stocks
As you all know, Michael Barry, depicted in The Big Short by Christian Bale, made his millions by betting against the U.S. housing market in the lead-up to the 2008 global financial crisis by buying credit default swaps on doomed mortgage-backed securitie…