find and kill process

C++
kill -9 $(ps aux | grep KeyWordHere | awk '{print $2}')Find PID of process to kill with:
ps ax
Then just specify "kill PID" command as for example:
kill 16320
kill -9 16320 	#Force kill in case process is not answering.
Source

Also in C++: