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
Derivatives of inverse functions: from table | AP Calculus AB | Khan Academy
Let G and H be inverse functions. So let’s just remind ourselves what it means for them to be inverse functions. That means that if I have two sets of numbers, so let’s say one set right over there, that’s another set right over there. If we view that fir…
Origins of agriculture | World History | Khan Academy
This timeline here covers 200,000 years, from 200,000 years into the past to the present. Just to get a sense of the scale of this, if we were to go 2,000 years ago to the time of the Roman Empire, that would be roughly here on the timeline. If I were to …
The Biggest Ideas in Philosophy
In the city of Cyprus in 300 BC, there lived a very wealthy traitor called Zeno. While on a voyage from Phenicia to Perez, his boat sank along with all of his cargo. Because of that single event, an event that was entirely out of Xeno’s or anyone’s contro…
Definite integral properties (no graph): function combination | AP Calculus AB | Khan Academy
Given that the definite integral from -1 to 3 of f of x dx is equal to -2, and the definite integral from -1 to 3 of G of x dx is equal to 5, what is the definite integral from -1 to 3 of 3 f of x - 2 G of x dx? All right, so to think about this, what we…
This Empowering Memorial Honors the Legacies of Military Women | National Geographic
I remember vividly at the dedication 20 years ago of the memorial. There was a World War I veteran in her uniform who spoke. She said, “When I served in the Navy, women were not even allowed to vote.” I thought, what a brave woman! So in that hundred year…
15 Life Changing Biographies of Successful People
Here’s a fact that will change your perspective about books forever: if they wrote it to make money, don’t read it. If they wrote it to tell you a story that will inspire and motivate you, it’s worth reading a thousand times. And this is what the followin…