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.

  • Zikeji
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days 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.