This happend to me right noww as I tried to write a gui task manager for the GNU/Linux OS

  • N3Cr0
    link
    fedilink
    07 months ago

    rm -rf <some placeholder>

    Works for . current directory. Yay!

    … also works for / system root. 🔥 Nay!

    • @CameronDev@programming.dev
      link
      fedilink
      07 months ago

      That won’t crash your kernel, and I was more curious about the OPs example. Task management is basically reading some files, and sending signals, it should be near impossible to crash the system.

      • Norah (pup/it/she)
        link
        fedilink
        English
        07 months ago

        I believe it does crash the system eventually as important buts start to go missing?