DEV Community

Discussion on: What is the worst thing you've done directly in prod?

Collapse
 
egeriis profile image
Ronni Egeriis Persson

rm -rf /

I was a teen in high school, while I had a small hosting venture on the side. My classmates were impressed with my skills, and one day I decided to show them the command that you should absolutely, under no circumstance, run as root on your server.

I signed in as root, typed the command, then I wanted to delete it again... but I accidentally pressed the return key 😬

Collapse
 
yashints profile image
Yaser Adel Mehraban

😱