Thursday, November 09, 2006

command to show most used command in ur linux system

history |awk '{print$2}'|awk 'BEGIN{FS="|"}{print$1}'|sort|uniq -c|sort -r|head -10

2 comments: