The Gentle News

If MacGyver could have a mullet, why can't I?

The Gentle News header image 2

History meme

April 15th, 2008 · 6 Comments · Potpourri

farris@bauer:~$ uname -a
Linux bauer 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686 GNU/Linux
farris@bauer:~$ history | awk ‘{a[$2]++}END{for(i in a){print a[i] ” ” i}}’ | sort -rn | head
93 ls
64 cd
52 sudo
36 8067
23 ssh
20 vi
19 locate
15 history
12 top
11 ping

And root:

root@bauer:/home/farris# history | awk ‘{a[$2]++}END{for(i in a){print a[i] ” ” i}}’ | sort -rn | head
100 ls
75 vi
56 cd
25 apt-get
23 locate
20 du
19 df
13 tail
11 ping
11 /etc/init.d/apache2

pixelstats trackingpixel

Tags:

6 Comments so far ↓

Leave a Comment