Apr

18

History in the making

2 years ago, mid-April | 2 Comments

It’s not that exciting really but everyone else is at it. Using,

history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head

I get:

312 ls
216 cd
108 vi
44 bitbake
24 ssh
23 cp
20 make
17 mv
17 mkdir
17 find




[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon] [Twitter]

Tagged with:
April 18, 2008 12:23


Comments

Name (required)

Email (required)

Website

Speak your mind

2 Comments so far

  1. History can be fun... - Monochrome Mentality on April 18, 2008 20:53

    [...] Andy’s blog said “everyone was doing it” so I have to too. [...]

  2. Monochrome Mentality :: Software Tech :: History Can Be Fun on November 17, 2009 02:55

    [...] 18, 2008 • Software, Tech Andy’s blog said “everyone was doing it” so I have to too.history | awk ‘{a[$2]++}END{for(i [...]