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
Vertices & direction of a hyperbola | Precalculus | High School Math | Khan Academy
Which of the following graphs can represent the hyperbola ( \frac{y^2}{9} - \frac{x^2}{4} = 1 )? We have our four choices here. Choices A and C open up to the top and the bottom, or up and down. Choices B and D, you can see, D here opens to the left and …
The colon as a separator | The colon and semicolon | Punctuation | Khan Academy
Hello Garans! So today we’re going to talk about the third and final function of the colon. This final function of the colon is that it can be used as a separator. So it might sound like we’re talking about the comma again, right? The comma separates el…
Extraneous solutions | Equations | Algebra 2 | Khan Academy
In this video, we’re going to talk about extraneous solutions. If you’ve never heard the term before, I encourage you to review some videos on Khan Academy on extraneous solutions. But just as a bit of a refresher, it’s the idea that you do a bunch of leg…
What Month Begins the New Year? | National Geographic
Looking for an interesting fact to share at your New Year’s party? How about this: New Year’s Day hasn’t always been celebrated on January 1st. The new year that many cultures celebrate falls on January 1st, but this only came into effect in 46 BC when Ju…
Elevator Thought Experiment | Genius
I’d like to continue our work together. So why don’t you come to Prague with me, Jakob? Maybe I could get you a position at the University. We’d have time to work on accelerated motion. Albert, I am flattered. But I’ve received another offer. A [inaudi…
Predicting the Apocalypse? | The Story of God
But is it possible to predict the end? A few years back, many people thought they had. According to popular legend, the ancient Maya thought the apocalypse would arrive on a specific date: December 21st, 2012. I want to know if this is really true, so I’v…