yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Erasing Your Hard Drive


2m read
·Nov 3, 2024

Hey guys, this is my Kids 101. Today, I'm going to be showing you a simple command that it's a very dangerous command. I wouldn't recommend doing it.

What is it? What it does is it erases your hard drive. Now I'm going to show you how to do this and talk about it a little.

Now, this command, if you are, you're gonna have to type sudo in front of it because it needs root to do it or an administrator. So, if I type it without sudo rm space -rf space /, it's going to say illegal option and, um, it's not going to work because what you need, you have to be either logged in as root, and if you log in as root, you want to type sudo, or um, or type sudo so it does run the command as root.

Then, it'll ask for an administrator password. If I type sudo space rm space -rf space /, it'll say, "Improper use of sudo command could lead to data loss or the deletion of important system files. Please double-check your typing on using sudo. Type man sudo for more information."

Basically, that's just a warning that you could erase parts of important files if you use sudo because, um, nothing is restricted to sudo, which you know, because this would erase your hard drive.

Now, if you do this in single user mode, you won't have to type sudo. By the way, single user mode is when there is no GUI; you're just logged in as with logged in to the UNIX part.

So, um, you have to hold the power button and then turn it on by holding at Apple S. So you won't have to type sudo, but you will have to type mount space -euw space / because, um, it will need to edit the file system. That's the command to edit the file system.

Now here, I can either type any administrator password or I can press Ctrl C to abort. So, I'm not going to do this; I'm just going to press Control C and then it goes to a regular terminal. Types on the regular terminal stuff, and I can just quit that and I'll be fine.

So that was just a simple video about erasing your hard drive. I would not recommend it, and if you do it, don't blame us.

Um, yeah, I hope this helped. I just gave this information to you because you might be interested in it, and um, there you go. If you enjoy our content, please subscribe to the Mac Heads 101. Thank you for watching. Have a nice day!

More Articles

View All
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. …
Startup Experts Share Their Investor Horror Stories
Raising money is a game that you sort of have to figure out. Oftentimes, these meetings can go terribly awry. The worst sort of investor meeting is one that makes you question why you’re even doing a company anymore. Today, we’re talking about our worst i…
The Machinery Of Freedom: Illustrated summary
In the nineteenth century, the political philosophy that supported small government and free markets was called liberalism. Unfortunately, between then and now, the enemies of liberalism succeeded in stealing its name. Which is why people with similar vie…
Diana Hu on Augmented Reality and Building a Startup in a New Market
All right, Diana! Whoo! Welcome to the podcast. Thank you for having me here. Correct, so maybe we should start from now and then go backward in time. So, you’re working on AR at Niantic after your company, Escher Reality, has been acquired. How did you s…
How to Transform Yourself in Solitude | Useful Ways to Spend Time Alone
The Zhongnan mountains - located in the Shaanxi Province in China - have been a dwelling place for Taoist hermits for at least more than two thousand years. For centuries, they’ve been seeking refuge from society, and for different reasons. Some pursued a…
He Spent His Career Studying a Frog. Then He Discovered Its True Identity. | Short Film Showcase
[Music] So, after all the different tree frogs, there is one group that really captivated my interest, and that was the leaf frogs. You can just imagine seeing one of those in the wild; it’s just incredible. You know, the great big eyes open, they’ve got …