Skip to main content

New answers tagged

0 votes

How to kill all subprocesses of shell?

By using rkill (sudo apt install pslist), you can not only kill all subprocesses, but also their descendants: rkill $(pgrep -P $$) $$ is your current pid. pgrep -P $$ gets you a list of all direct ...
sezanzeb's user avatar
  • 1,228

Top 50 recent answers are included