I have one command (/usr/lib/R/exec/R pathtoDifferentFiles) being executed with many different arguments (file names). Looking at htop, I see at least 30 processes created,
I want to kill all of them at the same time.
Is there a way to kill processes that apply a command starting with a pattern? (/usr/lib/R/exec/R)