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()#先
相關文章
相關標籤/搜索