A signal is sent by or from a process to another process.
A bash
process is usually run in a terminal emulator process such as gnome terminal.
A bash
process in turn runs other processes.
So when we send a signal to a process using control keys or running kill
in a terminal emulator which runs bash
, which process sends the signal to which process? how are th terminal emulator process, the bash process, and the child processes of the bash process involved?
Thanks.
kill
sends signals according to the options set for it, and for the control keys, see https://unix.stackexchange.com/questions/116629/how-do-keyboard-input-and-text-output-work – muru Aug 08 '17 at 11:25