history | awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
http://ubuntudaily.com/2008/04/10/my-shell-history/
history | awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
http://ubuntudaily.com/2008/04/10/my-shell-history/