How do you make a script so the user can not press ctrl+c and break out of the script?
Thanks,
How do you make a script so the user can not press ctrl+c and break out of the script?
Thanks,
usually something like:
trap "" 2
read the man page for your shell, and look for the section on the trap command.