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.


Comments

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

    — Jon, 1 May 2008, 8:19pm

  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.

    Cameron McCormack, 2 May 2008, 4:25pm

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

    — Oliver, 3 May 2008, 2:18am

  4. Oh, I get it. ^z

    — Oliver, 3 May 2008, 2:19am

(RSS, trackback)

Leave a comment

This is WordPress, so you can use the following elements in your post: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>