trap
The trap
shell built-in supports numbers (0
, 1
, 2
, 3
, 15
, etc), long names (EXIT
, SIGHUP
, SIGINT
, SIGQUIT
, SIGTERM
, etc), and short names (EXIT
, HUP
, INT
, QUIT
, TERM
, etc). Use long names:
Last updated
The trap
shell built-in supports numbers (0
, 1
, 2
, 3
, 15
, etc), long names (EXIT
, SIGHUP
, SIGINT
, SIGQUIT
, SIGTERM
, etc), and short names (EXIT
, HUP
, INT
, QUIT
, TERM
, etc). Use long names:
Last updated