I'm using Ubuntu 14.04 and I'm experiencing this behavior I can't seem to understand:
- Run the
yes
command (in the default shell: Bash) - Type CtrlZ to stop
yes
- Run
jobs
. Output:[1]+ Stopped yes
- Run
kill -9 %1
to stopyes
. Output:[1]+ Stopped yes
- Run
jobs
. Output:[1]+ Stopped yes
This is on Ubuntu 3.16.0-30-generic
running in a parallels virtual machine.
Why didn't my kill -9
command terminate the yes command? I thought SIGKILL can't be caught or ignored? And how can I terminate the yes command?