Answers for "linux kill all processes by by a string in command"

8

kill all processes by name linux

ps -ef | grep 'myProcessName' | grep -v grep | awk '{print $2}' | xargs -r kill -9
Posted by: Guest on May-13-2021
4

how to kill a process in linux

kill -KILL PIDnumber ... for example, kill -KILL 12345
Posted by: Guest on November-14-2019

Code answers related to "linux kill all processes by by a string in command"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language