I am trying to get the SIGSTOP CTRL+Z signal in my script\'s trap.
trap
When my script is executing, if I temporarily suspend>
There are two signals you can't trap*, SIGKILL and SIGSTOP. Use another signal.
SIGKILL
SIGSTOP
*: without modifying the kernel
IEEE standard:
Setting a trap for SIGKILL or SIGSTOP produces undefined results.