I have fallen victim to sudo rm -rf /*

Posted by Artemis-Arrow-795@reddit | linux | View on Reddit | 149 comments

God I wish this was a joke post, but feel free to laugh at it all you want, I deserve that

I was showing Linux to my friend, and he asked me about that command, I wrote it to explain how it works and what it does, after I was done I mistakenly pressed enter rather than ctrl+c

it took a day's work to recover my system to as it was before, luckily it didn't manage to reach my home files by the time I powered off my PC

moral of the story: don't try to explain sudo rm -rf /* to your friends, otherwise they might get a live demo