Page 1 of 1

Killing child processes

Posted: Sat Dec 10, 2005 12:52 am
by Neo
Is there any command to kill a process which also kills all its child processes forcefully?

Re:Killing child processes

Posted: Sat Dec 10, 2005 4:35 am
by JoeKayzA
Hi!

Code: Select all

killall -KILL -g [parent-process-name]
should do the job, at least it does so for my shell scripts.

cheers Joe

Re:Killing child processes

Posted: Sat Dec 10, 2005 6:25 am
by Neo
Couldnt find killall in CYGWIN thats why I wasn't trying it. Thanks anyway.
Is there some option of 'kill' that does this same thing?