Linux: Kill and Grep By Robert Reid November 3, 2013 CentOS 5, CentOS6, Remote Administration 0 Comments 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... [Continue reading...]