Martin Albisetti's blog

10Apr/082

Shell History

malbisetti@pentaserv:~/red_teatral$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
292 bzr
51 cd
29 tail
25 ls
24 exit
17 screen
15 su
9 vim
6 rm
6 cat

Right, I might be using bzr a bit too much...  🙂

Tagged as: Leave a comment
Comments (2) Trackbacks (1)
  1. LOL. I feel the same about myself.

  2. marvin:~ sandyd$ history|awk ‘{a[$2] } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
    134 make
    110 mono
    56 bzr
    54 cd
    45 ls
    20 ssh
    9 rm
    7 vi
    6 sudo
    6 clear

    Although I have been using a GUI tool for Bazaar recently


Leave a comment