686
Closing programs (infosec.pub)
you are viewing a single comment's thread
view the rest of the comments
[-] cannedtuna@lemmy.world 1 points 1 month ago

How’s that differ from SIGHUP?

[-] pivot_root@lemmy.world 10 points 1 month ago

Historical context, delivery, and handling.

HUP—hang up—is sent to indicate the TTY is closed.
TERM—terminate— is sent by request.

What happens when received is usually up to the process. Most of them just leave the defaults, which is to exit.

[-] firelizzard@programming.dev 3 points 1 month ago

They’re different signals. The default handling is the same - terminate - but they’re triggered by different things and (if the process handles them) handled by separate handlers.

this post was submitted on 15 Jan 2026
686 points (88.6% liked)

Programmer Humor

29717 readers
1925 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS