cat ~/.bash_history |cut -d' ' -f1 |sort|uniq -c|sort -rnk 1|head
找出指定目录中最大的10个文件
du -ak [DIRECTORY] | sort -nrk 1 | head
cat ~/.bash_history |cut -d' ' -f1 |sort|uniq -c|sort -rnk 1|head
找出指定目录中最大的10个文件
du -ak [DIRECTORY] | sort -nrk 1 | head
转载于:https://my.oschina.net/u/939893/blog/137763