Mac 脚本DevOps Posted on 1月 3, 2020 by admin 切换到 bash shell chsh -s /bin/bash 根据运行脚本名kill进程 kill -9 $(ps aux | grep filename | grep -v grep | awk '{print $2}')