kill all processes by grep code example
Example: 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
ps aux | grep -ie amarok | awk '{print "kill -9 " $2}'
ps aux | grep -ie amarok | awk '{print $2}' | xargs kill -9