← 返回命令列表

Linux one-liner

查看最常用的命令

文本

history | awk '{print $2}' | sort | uniq -c | sort -nr | head

复制后可按需替换文件名、目录或参数。