ps -ef|grep query_test.sh|grep -v grep #查看进程是否存在
ps -ef|grep query_test.sh|grep -v grep |awk '{print $2}'|xargs kill -9
标签:ps,grep,ef,test,sh,query,linux,进程,杀死 From: https://www.cnblogs.com/boye169/p/17030363.html
ps -ef|grep query_test.sh|grep -v grep #查看进程是否存在
ps -ef|grep query_test.sh|grep -v grep |awk '{print $2}'|xargs kill -9
标签:ps,grep,ef,test,sh,query,linux,进程,杀死 From: https://www.cnblogs.com/boye169/p/17030363.html