trap
command is a function of the shell to handle signals.
Basic examples:
1 | trap arg signal_spec ... # signal_spec can be either SIGINT like string or a number for that signal, the "SIG" is not required |
trap
command is a function of the shell to handle signals.
Basic examples:
1 | trap arg signal_spec ... # signal_spec can be either SIGINT like string or a number for that signal, the "SIG" is not required |