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.

    • dadarobot@lemmy.sdf.org
      link
      fedilink
      arrow-up
      1
      ·
      27 minutes ago

      life hack: alsways make a new directory to extract something in. that way you dont have to rm a bunch of random files, and maybe sone dotfiles you’ll never notice or know where they came from