Script ctrl+c

How do you make a script so the user can not press ctrl+c and break out of the script?

Thanks,
:slight_smile:

usually something like:

trap "" 2

read the man page for your shell, and look for the section on the trap command.