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
How I sold my first house at 19 for $3,550,000
So it took me about 10 months to sell my first house. 10 months. Well, honestly, I believe that after like month 8, I’m like, this is impossible! Like, how does anyone ever sell a house? I’ve been doing everything I can and I just can’t seem to get any re…
Confronting Pokimane | Inside The Million Dollar Empire
What’s up guys? It’s Graham here. So, a few weeks ago, dozens of you began sending me this video. It was of a Twitch streamer who goes by the username Pokey Main, who reacted to my feature in Glamour titled “How YouTuber Graham Stefan Lives in LA and Make…
Creating a Zombie Soap Opera | StarTalk
What I did is I made it a super. I was like, what if people kiss while zombies are trying to eat them? And then people were like, I like this romance stuff. Relationships, really? Yeah, I mean, I don’t know. I’m interested in that kind of stuff. I mean, I…
Finding perimeter when a side length is missing | Math | 3rd grade | Khan Academy
What is the perimeter of the figure below? So down here we have this figure and we are asked to find the perimeter of this figure. Perimeter is the distance all the way around the outside of a shape. So in this case, if I were to walk around the outside…
Doing these things might feel good, but they won’t derisk your startup.
You could be in that bottomless pit for years and be a startup founder that’s never built a product and has never gotten a single customer because you just cycled in and out of various forms of startup mentorship. The collecting of mentors, advisors—oh, …
Is Light a Particle or a Wave?
There is a video on YouTube which has Deutsch explain the famous quantum double slit experiment, which is about particle-wave duality. Is light a particle, or a wave? You pass it through a slit depending on whether there’s an observer and interference or …