This script, when run will kill any process matching the argument passed to it:

#!/bin/bash # Monsterkill script # @Author Andy Dixon <andy @ andydixon.com>

ps aux | grep -ie $1 | awk '{kill -9 $2}'