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 Art of Skydiving | Science of Stupid: Ridiculous Fails
NARRATOR: Like Yasuhiro Kubo here, going for a Guinness world record title. He’ll be free falling from around 10,000 feet and attempting to catch up with his parachute attached to this canister. The record is determined by how long he waits before jumping…
How I got a Tesla for Free
So this is the infamous $78 Tesla Model 3, the one that’s now been viewed over 5.6 million times. Completely unbeknownst to me, this car would quickly become the single best investment that I have ever made. And here’s why. It all started six months ago …
Worked examples: Calculating [H₃O⁺] and pH | Acids and bases | AP Chemistry | Khan Academy
[Instructor] Here are some equations that are often used in pH calculations. For example, let’s say a solution is formed at 25 degrees Celsius and the solution has a pOH of 4.75, and our goal is to calculate the concentration of hydronium ions in solution…
136 Countries Agree To Global Minimum Corporate Tax Rate!
Hey guys, welcome back to the channel! So in this video, we have some interesting news to me. I guess probably a lot of people would zone out at the thought of corporate tax rates, but to me, we have some interesting news. Because last Friday, 136 countr…
Seth MacFarlane’s Scientific Influences | StarTalk
Seth, I called you into my office. Yes, I gotta talk to you because you want me to help you clean up. I clean up the office. Uh, I got at some point I had to find you and talk to you about the science and Family Guy. Yeah, yeah, you just have to watch a …
Miranda v. Arizona | Civil liberties and civil rights | US government and civics | Khan Academy
[Kim] You have the right to remain silent. Anything you say can and will be used against you in a court of law. We’ve become familiar with the Miranda Warnings given to suspects in police custody through movies and TV shows, but who was Miranda and what d…