• ramble81@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        You know I’ve known for decades that -9 is basically “nuke it from orbit”, but does anyone know what the “9” actually means or where it came from?

        • lad@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          It’s the number of the signal sent, 9 is for SIGKILL. You can send various signals with kill, and depending on how application was made it may react on all signals with dying, or meaningfully process most of them. Afaik, SIGKILL can’t be processed by the app, and it always means just that: “die already”.

          Checked in Wikipedia, that’s about right but there are more details I left out, mostly because didn’t know about them, too: POSIX signals