Me(me) 5?
Posted 2 months, 3 weeks ago at 09:19. 1 comment
Xylon:~ ccooper$ uname -a
Darwin Xylon.local 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386
Xylon:~ ccooper$ history|awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
164 ssh
76 ls
72 cd
50 cvs
16 rm
15 less
12 emacs
10 sudo
9 scp
6 vi




BTW, looks like the literal quotes have been replaced with foreticks. (I ended up using the sed equiv from your link - it had the same problem but didn’t complain about awk errors)
Darwin nimby 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386
89 ls
52 cd
51 svn
29 ./dcmqr
24 ant
19 date
17 sudo
17 rm
17 ./thirdparty/jboss/bin/debug.sh
15 grep