How can I use SIGINT in my shell scripts?
you should use "trap" command.
I am not sure of the syntax. However I have used it as follows in the beginning of the script to capture the Ctrl-C (Interrupt)
trap " " 2
When this is used all of the Interrrupt signals to the execution of the shell script are ignored.
Jerardfjay
Thanks, jerardfjay!