Skip to content

Instantly share code, notes, and snippets.

@hakobe
Forked from cho45/gist:110853
Created May 13, 2009 07:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hakobe/110927 to your computer and use it in GitHub Desktop.
Save hakobe/110927 to your computer and use it in GitHub Desktop.
/ _ / X < ruby -pe 'gsub(/^.+;| .+$/,"")' ~/.zhistory* | sort | uniq -c | sort -r | head -20
2245 ls
2060 git
895 cd
762 vim
529 perl
404 exit
356 curl
312 ack
136 sudo
111 ssh
105 make
92 cat
90 screen
90 man
72 mysql5
68 mv
59 port
55 g++
53 svn
51 rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment