history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -rn|head -10 输出你最常用的十条命令 (https://coolshell.cn/articles/8619.html)