4 ms·
It's also amazing that you can trap SIGTERM to perform clean-up tasks when the user Ctrl-Cs a script.
by _pmf_ 12y ago
It's also amazing that you can trap SIGTERM to perform clean-up tasks when the user Ctrl-Cs a script.
- bdonlan 12y agoThat would be SIGINT - SIGTERM is sent when you kill the process without specifying a specific signal to send, or when the system is shutting down.