Oops! I accidentally did a rm -rf * in root

Tuesday, January 29th, 2008 at 2:42 pm

Well i didnt do it accidentally. So ive always wanted to try this. If your wondering what this is then ill enlighten you. ‘rm’ is for remove, and ‘-r’ is to recursive remove from current directory, and ‘f’ is to force shutdown the process so it can be removed. No say your did this in the root of the linux server. Would it actually remove the kernel? Now onto the story. We had a web server being put out of commission. I took 3 screenshots as i did it.

So the first screenshot here is me just typing it.

1.jpg
This next one i kept typing ‘ls’ and eventually the ‘rm’ deleted the command ‘ls’.
2.jpg
Then when the commands were deleted i had nothing else to do but shut it down.
3.jpg

As im sure you know, it was very much fun to be destructive.

Jason Rogers


Leave a Reply







Jason Rogers of the Neurotic Geeks is proudly powered by WordPress
Entries (RSS) and Comments (RSS).