Score:1

How do I pkill a process and all its child processes by name?

in flag

pkill -f 'name' is not sufficient because it leaves some left-over processes in control group that ran while starting. is there any way to do this in 1 line or so?

24601 avatar
in flag
https://www.systutorials.com/in-linux-how-to-kill-a-process-and-all-its-child-processes/
dawnslayer avatar
in flag
from that code where do i put the process name in it?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.