History Meme
Saturday, 19. Apr 2008
$ history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
1 emacs
Advertisements
nothing before me but thang
$ history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
1 emacs
Strangely, an overwhelming sudo on my Linux box. I’ve just been trying to update my system and get it back in shape, so maybe that isn’t so surprising.
[…] Dr. Vollmer’s Cut: […]
now that’s a history!
Hey you should have done it in *your* system, not on a recently “stolen” shell account 😀
Incredibly obscure command string. What does this script mean?
so it’s time for me to start study emacs seriously…
another possibility,
$ history | awk ‘{a[$2]++}END{for(i in a){print a[i] ” ” i}}’ | sort -rn | head
$
(of Windows user … ok, with Cygwin or Mingw installed … errr, but what’s the point! – -“)