Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Mac OS X - sudo rm -rf /

Loading...

Sign in or sign up now!
15,464
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 17, 2007

This is what happens to an installation of Mac OS X when invoking sudo rm -fr / from the command line in single user mode. This is meant only for informative purposes only and should never be done on a system you don't mean to completely hose! Enjoy.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 8 dislikes

Link to this comment:

Share to:

Uploader Comments (dell1032)

  • Wow, pretty amazing stuff.

    Why did you wipe the drive, do you intend to reinstall oSX

  • I'm planning on using the 60 GB drive to show how to build Camino and Firefox from source and I needed to start from scratch to install the screen capture software and show the steps involved to building your own web browser. Glad you enjoyed it.

Top Comments

  • There's no need for sudo here :P

    You're already root.

    rm -Rf / would have done.

  • You couldn't reboot because you deleted the reboot program! It's get's pretty crazy after you delete every file in a UNIX or UNIX-like system.

see all

All Comments (60)

Sign In or Sign Up now to post a comment!
  • The -f flag means folder.

    Without it. The screen would be filled up with this directory is a folder.

    Try doing sudo rm -rf -v /

    Then you see what it's deleting.

    I will record it on my Linux VM

    Not real pc. It would take ages to delete 300 GB of data

  • i watched you kill a mac on a mac D:

  • why did you type "sudo" if you are already root

  • Do it in VERBOSE, that way you can see the destruction. Just don't do it to the root when you intended to do it to a directory like I once did :-]

  • @GegoXaren Not every user is a root, non-root users will need the sudo.

  • @choismn00 that's what I did last year.

  • It is every so satisfying to see a macfag destroy his own os when I troll them to sudo rm -rf their shit, and then see them ask the next day how to fit their mac. I tell them to run a magnet over their computer, and that will fix it. You wouldn't believe how many people fall for that! God I love stupid mac people.

  • lol at nerds comments with commands on how he should have done it.

    losers

  • he also doesn't understand what the -f flag for rm is for

  • I goofed. One of the lines should end with the bs=1 as well as whatever unit represents the basic byte, and not have the size argument...excuse me, I have had to delete partitions and disks, as well as other stuff.

View all Comments »
Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more