$signals
–
Names of OS signals
$signals maps signal numbers to names.
The items are offset by one, for example the name of signal 9 is available via ${10}: KILL.
Links
Examples
- Print names of available signals
- Output:
1typeset signals1signals=( EXIT HUP INT QUIT ILL TRAP IOT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH POLL PWR SYS ZERR DEBUG )
BashSupport Pro is a Zsh IDE with support for $signals – try it now!