Skip to content

Instantly share code, notes, and snippets.

@wilmoore
Last active July 1, 2024 03:28
Show Gist options
  • Select an option

  • Save wilmoore/809f6859c1576916fb84ba074d147c72 to your computer and use it in GitHub Desktop.

Select an option

Save wilmoore/809f6859c1576916fb84ba074d147c72 to your computer and use it in GitHub Desktop.
Software Engineering :: Operating Systems :: Linux :: Command :: Shell :: Signals

Software Engineering :: Operating Systems :: Linux :: Command :: Shell :: Signals

⪼ Made with 💜 by Polyglot.

When Bash is interactive, in the absence of any traps, it ignores SIGTERM (so that ‘kill 0’ does not kill an interactive shell), and SIGINT is caught and handled (so that the wait builtin is interruptible). When Bash receives a SIGINT, it breaks out of any executing loops. In all cases, Bash ignores SIGQUIT. If job control is in effect (see Job Control), Bash ignores SIGTTIN, SIGTTOU, and SIGTSTP.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment