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
How to Get Rich
Hey, this is Nivi. You’re listening to the Navall Podcast. This is one giant mega sowed that collects every episode we’ve done on getting rich. All of it is based on his tweet storm of how to get rich without getting lucky. I’ve collected them all here be…
Writing inequalities to represent real-world problems | Grade 8 (TX) | Khan Academy
We’re told at the beginning of summer the city pool advertises a special offer. Swimmers can pay an initial fee of $20, and then the daily admission will be $4 per day. Without the special offer, the standard price is $8 per day. Irene wants to know after…
Steve Varsano meets some fans!
Willing to work for free, everybody. Same thing. I need somebody who really knows airplanes. Telling you, it takes a long time. But I’ll tell you what you should go do: you try to find an aircraft charter broker. They will teach you about the business, an…
Day 1: Remodeling has begun! They’ve started tearing out walls!
What’s up you guys? It’s Graham here. So, so many people have asked me for update videos about the whole remodeling process and all the work I’m going to be doing, so this is that video. Now, I realized I’m wearing the same shirt as the last time I filme…
The Bullet Block Experiment
Alright, here is the setup: I have a rifle mounted vertically and we’re going to shoot a bullet into this block, right into the middle of it. So obviously the block is going to go flying into the air. But we’re going to do this again and instead of firin…
Warren Buffett: Why Gold is a Bad Investment
Okay, so it’s no secret that the United States, and frankly, the entire world is experiencing high levels of inflation that most countries around the world haven’t experienced in decades. You’re probably seeing this inflation, which refers to things that …