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
LearnStorm at Wewahitchka High School
We will hitch high schools. Have a great little school here. It’s a rural area, about 350 kids, 7 through 12. A great school, though our kids are interested in bettering themselves. Miss Camden Topman is a reading ELA teacher here, English Language Arts…
Writing a quadratic function from a graph | Algebra 1 (TX TEKS) | Khan Academy
We’re told here’s the graph of a quadratic function f. All right, write the equation that defines f in standard form. So pause this video, have a go at this before we do this together. All right, now let’s work on this together. So before we even get to …
Buffett & Munger Expose Investment Lies: Real Returns vs. Pure Fiction
Speaker: We don’t formally have discount rates. I mean, every time I start talking about all this stuff, Charlie reminds me that I’ve never prepared a spreadsheet, but I do. You know, in in effect, in my mind, I do. But uh we are going to want to get a si…
Directional derivatives and slope
Hello everyone! So what I want to talk about here is how to interpret the directional derivative in terms of graphs. I have here the graph of a function, a multivariable function: it’s ( F(x, y) = x^2 \cdot y ). In the last couple of videos, I talked abo…
Tea...For Dinner?: A Day in the Life of a Scientist | Continent 7: Antarctica
[Music] Got it. Um, sweet. What are you doing right now? I am about to have tea. So, tea is a New Zealand term for dinner, which confuses Americans because New Zealanders also drink a lot of tea. Oh, that sounds good. Cooking? I’m sitting on dinner, so…
Why it's so hard to be happy
A long time ago, humanity rose to become the dominant species on planet Earth. And we were able to do this because of one specific trait. It certainly wasn’t our physical prowess, pretty much any animal the same size as us would absolutely destroy us in a…