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.

you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 8 months ago

Half a year ago I accidentally git cloned to a folder named ~, so naturally I did rm -rf ~.

Mistakes were made. Fortunately I backup my ~ so it was just annoying.

  • source
  • parent