• coldsideofyourpillow@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      You only need the --no-preserve-root flag when acting on /.

      So the correct code would be either sudo rm -fr /* or sudo rm -fr / --no-preserve-root(more appropriate for your ‘advice’)