Command history

Here’s the command history on my laptop’s Ubuntu 10.04 installation (it’s been running for a year and a half now):

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

1030 cd
833 v
747 git
653 sudo
564 gc
537 vim
531 hdfs
357 ls
343 grep
265 rm
204 tshark
186 cp
182 ack-grep
143 cat
126 ping
114 hg
102 mv
95 find
94 ssh
93 ./waf

“v” is my alias for vim, and “gc” is my alias for “git commit”. So here’s the somewhat corrected list (I say somewhat because I have even more aliases which I use for git, which I’m not taking into account).

1370 vim
1311 git
1030 cd
653 sudo
531 hdfs
357 ls
343 grep
265 rm
204 tshark
186 cp
182 ack-grep
143 cat
126 ping
114 hg
102 mv
95 find
94 ssh
93 ./waf

I find it surprising that over the 4 months I hacked on KTHFS, the “hdfs” command made it to my top 10 list! Mercurial (hg) and waf are in there thanks to my ns-3 duties.

Oh well, now back to work.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s