Command line history

As read here, this is my command line history on my MacBook :

$ history 1000 | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head

240 ssh
62 cd
55 scp
33 for
28 vim
25 ping
17 history
13 ls
4 sudo
3 telnet

This entry was written by CharlyBr, posted on May 2, 2008 at 5:54 pm, filed under Command line and tagged . Leave a comment or view the discussion at the permalink.