怎样统计使用最多的命令

cat ~/.bash_history |sort |uniq -c |sort -nr |head

发表回复

后才能评论