SysTutorials Forums QA 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?

Reply To: In Linux, how to kill a process and all its child processes?
Your information:





<a href="" title="" rel="" target=""> <blockquote cite=""> <code> <pre> <em> <strong> <del datetime=""> <ul> <ol start=""> <li> <img src="" border="" alt="" height="" width="">

Please share if you like this post: