Thursday Apr 17, 2008

Bash history

history|awk '{a[$2]++} END{for(i in a){printf "%5d\t%s \n",a[i],i}}'|sort -rn|head
  118	svn 
91 curl
63 find
42 ls
28 cd
20 mate
15 rm
10 diff
8 vim
7 tail

Sorry, I had to follow the hype ;-) But this list changes every day anyway - the top command "svn" for example is there because I did a lot of "svn st" piping to "grep" before a large checkin.

Comments:

No "git" ?

Posted by Lars Fischer on May 23, 2008 at 11:19 PM CEST #

Post a Comment:
  • HTML Syntax: Allowed