摘要: (1)统计文件中出现次数最多的前10个单词 #ps -ef > ps.file #cat ps.file | awk ‘{print $1}’ | sort | uniq -c | sort -n -r -k1 | head -10 (2)输出至少出现3次的的单词 # cat ps.file | a 阅读全文
posted @ 2016-09-27 22:06 Big_Foot 阅读(3860) 评论(0) 推荐(0)