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
Breaking Into a Smart Home With A Laser - Smarter Every Day 229
(Smart Lock Opening) (Smart Lock Dings) - [Destin] It just worked. - [Ben] Yep. - Alexa, Okay Google, Hey Siri, set a reminder to subscribe to Smarter Every Day. You have a microphone listening to you in the room right now, what I just did probably worked…
Bobby Bones Descends a Slippery Cliff | Running Wild With Bear Grylls
[Wind rumbling] OK, so Bobby, where we’re heading is a 100 foot drop off that lip. We’re right on the edge of this, like, boulder, slab of rock that just curls away. And it’s one of these awkward ones because you can’t see over the lip. We’re going to go …
15 Valuable Lessons You Learn After Your First Big Win
You know, everyone always talks about lessons you learn from failures and how important they are. But if all you have are failures, then maybe those lessons are incomplete. Today we’re going over 15 valuable lessons you only learned after your first win. …
Introduction to vector components | Vectors | Precalculus | Khan Academy
In other videos, we have talked about how a vector can be completely defined by a magnitude and a direction. You need both. Here we have done that; we have said that the magnitude of vector A is equal to three units. These parallel lines here on both side…
Example constructing and interpreting a confidence interval for p | AP Statistics | Khan Academy
We’re told Della has over 500 songs on her mobile phone, and she wants to estimate what proportion of the songs are by a female artist. She takes a simple random sample—that’s what SRS stands for—of 50 songs on her phone and finds that 20 of the songs sam…
Cells - Course Trailer
Hello. Now, when you look at me right now, you probably think that it’s me, Sal, talking to you. But really, what is talking to you is a society of over 30 trillion cells that have somehow collectively convinced itself that it is Sal. What we’re going t…