SamLukeYes
deepin
2020-05-25 09:22 我比较懒,直接用killall

Reply Like 0 View the author

https://bbs.deepin.org/post/195022
我比较懒,直接用killall
https://bbs.deepin.org/post/195022
为什么不用pkill这个现成的呢?
https://bbs.deepin.org/post/195022
pkill不是更香嘛,还不怕语法错误
https://bbs.deepin.org/post/195022
系统监视器不香吗?
Popular Ranking
ChangePopular Events
More
来源:Link
k4n(){ps aux|grep $1|grep -v grep|cut -c 9-15|xargs kill -15}
使用方法:
k4n 你要结束的进程名
栗子:
结束所有python进程:k4n python