Advanced

What Happens When You Run “rm -rf /”

Posted by Sander_Marechal on · Post a comment
fsckin
Mail this story
Print this story

I’ve known for a long time to stay away from the short, sweet and simple “rm -rf /” command. It deletes every file on any writable filesystem mounted by a *nix system, but what exactly happens if you do run it? Do green leprechauns jump off the screen to warn you that you shouldn’t do it? Not quite. Here’s a video with the verbose option set to make it a little bit more interesting. I’m running it in a virtual machine so I can capture video of all the “action” - it was a bit slow to complete, but I’ve gone ahead and increased how quickly it runs to not be nearly so boring. Enjoy!

Full Story

  Nav
» Read more about: Story Type: Editorial; Groups: Linux

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments

No comments yet. Be the first.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post