In Linux, how to kill a process and all its child processes?

In Linux, how to kill a process and all its child processes?

For example, a Bash script A starts B, B starts C and C calls rsync.

I would like to kill A and all its child processes all together. How to do this?

asked Jun 19 by anonymous

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...