• palordrolap@fedia.io
    link
    fedilink
    arrow-up
    25
    ·
    16 hours ago

    In order of decreasing politeness: 1, 2, 15, 9 = HUP, INT, TERM, KILL = “Please stop”, “Quit it”, “I’m warning you” and “BANG”

      • palordrolap@fedia.io
        link
        fedilink
        arrow-up
        8
        ·
        15 hours ago

        True. I think of it more as a semantic shift. In the old days, processes would actually quit and some other process would resurrect it as necessary, but then someone had the idea of having some processes catch the HUP and do all that itself without actually bothering any other processes.

        And the implementation might actually involve an exec of the process’ own executable, meaning that it actually does self-terminate, but it leaves a child in its place.

    • BCsven@lemmy.ca
      link
      fedilink
      arrow-up
      4
      ·
      14 hours ago

      9 kills all 9 lives is they way the hpunix guy explained it to me in the mid 90s