Answers for "kill process with name in linux"

5

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
2

how to kill process in linux by name

######################################################
# How to Kill the supervisord process without the PID
######################################################
ps -ef | grep 'supervisord' | grep -v grep | awk '{print $2}' | xargs -r kill -9
Posted by: Guest on June-22-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language