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
[–] 2 points 7 months ago (4 children)

I've read this somewhere too! Where are you quoting it from if I may ask?

But yes I also agree πŸ’―%. rm should always be treated with respect and care by default rather than "customizing the danger away."

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 7 months ago* (last edited 7 months ago) (3 children)

    Quoting from Linux Hater's Handbook, lovely read

    EDIT: UNIX Haters, not Linux hater, my bad

  • source
  • parent
  • hideshow 3 child comments