When you press Ctrl+C
in the terminal, a SIGINT
signal will be sent to the foreground process group.
Now there are other signals that you can send in the terminal (for example: Ctrl+Z
). Are all of these signals get sent to the foreground process group also, or are there some signals that get sent to the background process groups?