Catch SIGINT and SIGTERM in a shell script (CTRL-C) by NicholasPhillips April 12, 2014 trap “/usr/bin/mycmd; exit 255” SIGINT SIGTERM Tags:bashscriptshellsigintsigtermtrap