I know this sounds like a common question and I should be able to find answer in archives. Tried looking for some, but couldn't find. All the responses look very lengthy. Any 1-liner to kill a process in linux including all its children processes.
Asked
Active
Viewed 6,328 times
2 Answers
5
If they're all in the same group, use kill
and pass the negation of the group id, as in here.

Community
- 1
- 1

Caio Cunha
- 23,326
- 6
- 78
- 74