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.


Make an alias in .bashrc (or equivalent) so that rm always have the -i flag to prompt for “you really wanna do it !?”.
That just trained me to automatically add
-fto avoid the prompts.But why would 500 prompts be annoying to you ?