History meme

  ·   (Ultimately from here.)

jet:~ $ history | awk '{a[$2]++} END{for(i in a){printf "%5d\t%s\n ",a[i],i}}' | sort -rn | head
  8906  ls
  8441  cd
  5230  vi
  3902  date
  3671  fg
  1379  svn
  1236  make
  1143  ssh
  1052  mplayer
   755  cal

Looks pretty accurate to me, although I’m surprised mplayer is that high in the list.


Four comments

You can subscribe to the comment feed to follow the responses to this entry.

  1. you had to request the date 3902 times??? GET A CALENDAR!!! (and a clock)

  2. Yeah well, that’s what happens when you don’t have a clock on your (electronic) desktop! I don’t find it much of an inconvenience to find a free xterm to type date into.

  3. There’s lots of fg, so where the heck is bg?

  4. Oh, I get it. ^z

Leave a comment