shell命令总结

1. for循环

for i in $(ps -ef | grep -w 'MQClient'| grep -v grep|awk '{print $2}'); do kill -9 $i; done

 

posted @ 2020-07-30 16:45  LLSix  阅读(106)  评论(0编辑  收藏  举报