ps aux | grep 'abc' | grep -v 'grep' | awk '{print $2}' | xargs kill
本文来自博客园,作者:孙龙-程序员,转载请注明原文链接:https://www.cnblogs.com/sunlong88/p/18649652