There were a few that occurred in development, so no production environments were affected (that I can remember). However, I did once mistype a sudo rm -rf command...
I intended to type ./ for the current directory, but failed to enter the period. So, it was after I hit enter that I realized I had run it with a / in front of everything. I had several backups, so I only lost a bit of work.
There were a few that occurred in development, so no production environments were affected (that I can remember). However, I did once mistype a
sudo rm -rfcommand...I intended to type
./for the current directory, but failed to enter the period. So, it was after I hit enter that I realized I had run it with a/in front of everything. I had several backups, so I only lost a bit of work.I still gave myself a minor heart attack.
That's why you just write
.so you can't accidentally delete everything 👀