• hddsx@lemmy.ca
    link
    fedilink
    arrow-up
    2
    ·
    11 hours ago

    That’s not true. Most distros now ask you to add —no-preserve-root

    • Elvith Ma'for@feddit.org
      link
      fedilink
      arrow-up
      3
      ·
      10 hours ago

      Have you tried to add * to the path? No more nagging about that pesky missing safety parameter…

      rm -fr /*
      

      Bonus points of you do:

      rm -fr $ACCIDENTIALLY_UNDEFINED_VAR/*
      
      • hddsx@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        9 hours ago

        Well, technically those aren’t the same command (but works well enough if you’re trying to render a system unusable).

        rm -rf /* would not remove /.secret. It rm -rf / would