All,
I have a shell script where I want to call a function to do some cleanup if user presses the ctrl-z key(SIGTSTP signal). I read about the trap command and found an example where I can trap the ctrl-c key. Is there a way to intercept the SIGTSTP signal?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
|||
|
|||
|
|
manpage. – Prince John Wesley Oct 24 '11 at 6:44