linux 根据进程名称kill进程 alanland · 2014-04-09 14:21 · 操作系统 · Bash · Markdown : #!sh i1=`ps -ef|grep -E "Bootstrap"|grep -v grep|awk '{print $2}'` kill -9 $i1 。