Given a shell process (e.g. sh) and its child process (e.g. cat), how can I simulate the behavior of Ctrl+C using the shell's process ID? This is what I've tried: Running sh and then cat: [user@host ~]$ sh sh-4.3$ cat test test Sending SIGINT to cat from another terminal: [user@host ~]$ kill -SIGINT $PID_OF_CAT cat received the signal and terminated (as expected). Sending the signal to the parent
![Why is SIGINT not propagated to child process when sent to its parent process?](https://cdn-ak-scissors.b.st-hatena.com/image/square/b464c2cda694ab68f456c208dff3f30700a47c13/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Funix%2FImg%2Fapple-touch-icon%402.png%3Fv%3D32fb07f7ce26)