Skip to main content
2 of 4
added 102 characters in body
SparedWhisle
  • 3.9k
  • 4
  • 26
  • 35

kill a group of processes with negative PID

kill -TERM -PID 

is supposed to kill PID and all its child processes.
but this doesn't work on openSUSE, it always tell me that no such process -PID no matter what PID i use.
So if the negative PID option is not supported by this particular version of kill, what is the best way to kill a group of processes?

SparedWhisle
  • 3.9k
  • 4
  • 26
  • 35