I accidentally untarred archive intended to be extracted in root directory, which among others included some files for /etc directory.
I went on to rm -rv ~/etc, but I quickly typed rm -rv /etc instead, and hit enter, while using a root account.


I usually start typing with # before the command, so that even if i accidently hit enter, it won’t run. After verifying the command enough times, i removes the # and run the command(take command from history if i hit enter)