• @xkforce
    link
    9
    edit-2
    1 year ago

    How is letting you brick your install with little warning an advantage?

    rm -rf / you dont have permission to do that.

    sudo rm -rf / [linux dutifully commits sudoku until rm itself is gone]

    • Romanmir
      link
      fedilink
      English
      111 year ago

      And I think it’ll remove “rm” and keep right on going because Linux copies commands to ram then runs them, yeah?

      • @[email protected]
        link
        fedilink
        41 year ago

        Oh yeah. I’ve done it just for fun before reimaging a machine. It will mostly complete (some stuff isn’t a real file so rm just fails), and your desktop environment will remain up and running while it happen. Then errors start popping up, icons stop working, nothing loads anymore, you can’t reboot or shutdown because those were actually commands, and they’re missing now…

      • @xkforce
        link
        2
        edit-2
        1 year ago

        Hmm I mean Ive never done it for obvious reasons but maybe? live cds/dvds load the whole OS in RAM and could erase everything but I am not sure about the OS on disk. I could try it in a vm and see what actually happens

        • Ooops
          link
          fedilink
          51 year ago

          Yes, it’s copied to ram. Which is also the reason you don’t need to stop programs while live updating them.

          The new version is only again copied from disk, when you start it at a later time.

    • FuglyDuck
      link
      English
      31 year ago

      If your computer is doing puzzles while running the mindless tasks you assign it…. I suggest maybe finding more stimulating tasks. Just saying… ;)

    • @bob_wiley
      link
      English
      0
      edit-2
      1 year ago

      deleted by creator