Dear all,
good day.
i'm asking about how to disable <control>-c or <control>-z in the beginning of a shell script then enable it again before the script exit
Best Regards
---------- Post updated at 04:41 AM ---------- Previous update was at 04:18 AM ----------
Dear All
i found the answer
trap '' 2
echo "This is a test. Hit [Ctrl+C] to test it..."
sleep 20
trap 2
thank you