Linux grep a process and kill all process id's

kill -9 `ps -ef | grep ProcessName | grep -v grep | awk '{print $2}'`

No comments: