Disable Traps ctrl c , ctrl z in shell script
Use the following line in the beginning of your shell script to disable traps like ctrl c and ctrl z in your shell script.
trap “” 2 20
Use the following line in the beginning of your shell script to disable traps like ctrl c and ctrl z in your shell script.
trap “” 2 20