macOS 查看终端使用最多的TOP 10命令 code by @xqin 1history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | \nl | head -n 10 macOS #macOS #history macOS 查看终端使用最多的TOP 10命令 https://webclown.net/2019/05/21/macOS-查看终端使用最多的TOP-10命令/ 作者 Key 发布于 2019年5月21日 许可协议 iPad/iPhone new Date(string) 报错:NaN 上一篇 macOS Finders 点击 Go2Shell小图标 打开 iTerm2 下一篇 Please enable JavaScript to view the comments