$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.

Examples

Print names of available signals
1
typeset signals
Output:
1
signals=( 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 是一款支持 signals** 的 **Zsh 集成开发环境 - 立即试用
© 2020–2024 Joachim Ansorg
声明
隐私政策
许可条款