mac kill 进程脚本

#!/bin/bash
ps -ef | grep pycharm | awk '{print $2}' | xargs kill -9 

原文地址:https://www.cnblogs.com/amize/p/14540120.html