SIGTERM
noun
say it: “SIG-term” /ˈsɪɡtɝm/
The signal that politely asks a program to finish up and stop, which the program can catch to save its work first.
What is SIGTERM?
SIGTERM is the polite way to ask a program to stop: "please finish up and close". It's what kill sends when you don't name a signal. A program can catch it to save its work first, or even ignore it, so check with ps that it really stopped.
kill 2565 # sends TERM, the same as kill -TERM 2565
ps -p 2565 # only the header line: it stopped
In a sentence
- “kill sends SIGTERM unless you name another signal.”
- “The export saved its last frame when it got SIGTERM, then closed.”
Level: Journeyman · More Unix terms at this level
Updated