Signal handling

The shell ignores INTERRUPT and QUIT signals for an invoked command if the command is terminated with an ampersand (&); that is, if it is running in the background. Otherwise, signals have the values inherited by the shell from its parent, with the exception of the SEGMENTATION VIOLATION signal.

For more information, see the Bourne shell built-in trap command.