Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Mar 2002

    What Happens When You Do “sudo rm -rf /”?

    Well, now you know


    Seriously don't try this at home. Obviously in this video sudo was used because this was a debian based (most likely ubuntu?) system; that discourages login as root. If you are using any other kind of linux system and logged in as root, you won't be even prompt for a password before everything is gone.... gone... just gone...

    I always wanted to try this. Maybe I will try this on a virtual machine and post some screen shots.

  2. #2
    Senior Member isildur's Avatar
    Join Date
    Feb 2003
    That is why some suggest that you alias rm -i for rm in your shell startup scripts.
    Only trust Pipe-smoking Penguins.

  3. #3
    Senior Member gore's Avatar
    Join Date
    Oct 2002
    I've done this and the deltree one (where regardless there isn't a password) just because the machine pissed me off. I have working versions of my configuration files and complete back ups in two locations and multiple CDs, DVDs, and USB drives containing back ups for everything so really me running this does nothing more than give me something to do for 30 minutes while I'm reinstalling the OS and grabbing the files off my FTP server or other places.

  4. #4
    Senior Member wolfman1984's Avatar
    Join Date
    Aug 2007
    That's not what happens when you run "rm -rf /" as root.

    Here, let me try it now....

    .....oh noes....

    *The Wolfman has been disconnected from Anti-Online*
    The Wolfman's Homepage: http://www.fangtastic.org
    Do you dig the Wolfman?? Sign his Ghoulbook or listen to him Howl

  5. #5
    Just Another Geek
    Join Date
    Jul 2002
    Rotterdam, Netherlands
    Tried to "clear" my boot sector once.. Made a slight mistake.. Cleared way to much.... including the partitiontable....

    System still ran, no problem.. Until you reboot....

    dd if=/dev/zero of=/dev/ad0 bs=1024 count=10
    Oliver's Law:
    Experience is something you don't get until just after you need it.

  6. #6
    AO übergeek phishphreek's Avatar
    Join Date
    Jan 2002
    I've done that before.... kinda funny. I did it in a vmware session and had the session revert to a snapshot I had taken right before I did it. vmware is great for things like that. Kind of one of those instances where you're told not to press the red button but you just have to!
    Quitmzilla is a firefox extension that gives you stats on how long you have quit smoking, how much money you\'ve saved, how much you haven\'t smoked and recent milestones. Very helpful for people who quit smoking and used to smoke at their computers... Helps out with the urges.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.