I find these commands useful to kill all processes running from a given script or have the same process name: kill -9 `ps -ef | grep scriptname.sh | grep -v grep | awk ‘{print $2}’` kill -9 `ps -ef | grep...