python 输出 history中最经常使用的10条命令

Couter计数器参考连接 history保存在~/.bash_history中 web import os from collections import Couter c = Couter() witn open("~/.bash_hisstorry") as f: for line in f: cmd = line.strip().split()#先
相关文章
相关标签/搜索