一条查看历史命令的语句
时间:2010-10-11 来源:chcearth
这条命令是分析.bash_history的历史命令,根据使用次数排序前10个。
sed -e "s/| /\n/g" ~/.bash_history | cut -d ' ' -f 1 | sort | uniq -c | sort -nr | head
这里先记录一下。。。。。。。
相关阅读 更多 +
时间:2010-10-11 来源:chcearth