Following sti's shell history meme, here are
some meaningless shell history statistics from my home computers. (By the
way - I would've done that one-liner like this: history | awk '{print
$2}' | sort |uniq -c | sort -rn|head - two more pipelines out of
habit.)
My home Mac:
$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
127 ssh
52 ls
45 ping
32 cd
26 sudo
13 open
12 mount
10 top
10 cat
9 df
Surprise: mount - turns out I often use mount without
parameters to see which device a newly attached hard disk appears at.
My Linux gateway box
$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
47 ls
40 cd
39 screen
38 sudo
24 ps
20 w
19 ping
17 mount
15 cat
14 tuxgdg
No surprises, really - I mostly use this box for IRC in a screen session - but lately also for playing with my Tux Droid, hence tuxgdg.
My work laptop (Linux)
$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
92 sudo
76 ssh
41 echo
38 ping
31 ipsec
22 tail
22 cd
21 ls
16 cat
14 vi
This computer is mostly used for remotely connecting to the work VPN (hence ipsec), and through that connecting to work servers using SSH, and the rest is done through Gnome or a web browser.
ping appears everywhere, most likely because my ISP is
quite unstable at times. Also, I'm more vi than I thought.
