trap
trap
help
trap: trap [-lp] [[arg] signal_spec ...]
Define a signal handler.
Options:
-l, --list List all of the currently defined traps.
-p, --print Print the trap definition for a signal.
-h, --help Show this help message.breakdown
-l, --list: This option lists all of the currently defined traps.
-p, --print: This option prints the trap definition for a signal.
-h, --help: This option shows this help message.Last updated