ps aux | grep 'abc' | grep -v 'grep' | awk '{print $2}' | xargs kill
本文來自博客園,作者:孫龍-程序員,轉載請注明原文鏈接:http://www.rzrgm.cn/sunlong88/p/18649652