I am trying to run a shell script or command via ssh terminal and need to be able to prevent it from being terminated via the Control+C key.
Under GUI shell, I can have the following:
trap '' sigint && gstat
however if I run it under ssh, then I get the following message:
trap: Command not found
Under GUI shell, I can have the following:
trap '' sigint && gstat
however if I run it under ssh, then I get the following message:
trap: Command not found