Answers for "ps aux grep kill all process"

0

kill all process that match in grep

ps aux | grep -ie amarok | awk '{print "kill -9 " $2}'
ps aux | grep -ie amarok | awk '{print $2}' | xargs kill -9
Posted by: Guest on September-28-2020
0

ps -aux | grep pid | kill

# qemu is the process name
ps aux|grep qemu|awk '{print $2}'|xargs kill -9
Posted by: Guest on March-22-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language