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
Modeling with composite functions | Mathematics III | High School Math | Khan Academy
[Voiceover] “Carter has noticed a few quantitative relationships related to the success of his football team and has modeled them with the following functions.” All right, this is interesting. So he has this function, which he denotes with the capital N…
Answering Presuppositionalism: Extra Credit
Presupposition lists hold that a theistic worldview is the only one that can account for knowledge. In particular, they claim that atheists cannot justify their use of inductive reasoning, while God provides a firm epistemological basis; in other words, a…
3D Audio Machu Picchu Hike (Wear Headphones) - Smarter Every Day 68A
Hey, it’s me Destin. Welcome back to Smarter Every Day. This is Gordon. He’s been doing the sound for Smarter Every Day for years. This is the first time we’ve met, but it’s in Peru. Pretty crazy—it’s awesome. He’s from Canada. So what are we doing here?…
Lecture 8 - How to Get Started, Doing Things that Don't Scale, Press
Yeah, thanks for having me, Sam. Um, I’m Stanley. I’m the founder of DoorDash, and it’s really amazing to be here because it wasn’t actually that long ago where I sat in your seats. Um, I was class of 2014, graduated in CS, as well as my co-founder Andy. …
The Ponzi Factor | Stocks are NOT Ownership Instruments
The reason why finance professionals do not see the stock market as a Ponzi scheme is because they believe the credibility for an idea rests on repetition, tradition, and people who recite it rather than proof, logic, or facts. The first fallacy, which I…
Overpopulation – The Human Explosion Explained
Never before in history, have there been so many people on Earth as right now. Our numbers have skyrocketed, from 1 billion in 1800, to 2.3 billion in 1940, 3.7 billion in 1970, and 7.4 billion in 2016. The world population increased fourfold in the last …