百度首页 | 百度空间
 
查看文章
 
WHAT IS YOUR 10 COMMON LINUX COMMANDS?
2007-12-23 21:09
The idea is simple, we gather info from history, lets look at the command combo’s now.

history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10


类别:Others | 添加到搜藏 | 浏览() | 评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码:
 

     

©2008 Baidu