I have read that when you press
Ctrl+C, then a
SIGINT signal will be sent to the foreground process group.
Now the accepted answer in this question says:
Basically, your signal is received by all foreground processes, ie the shell and the program,
I have executed
bash, and noticed that the
cat are different, so they do not belong to the same process group.
So when you press
cat will receive the
SIGINT signal (and so the answer I quoted is wrong), am I correct?