->
I figure I’d join the band-wagon too, but I’ll use *readable* $() vs the absolutely unreadable-horrible-habit `. (Yes, that is a `. What? You can’t tell what character that is? Yeah, neither can I when you use it in your code! Its a back-tick and shouldn’t be used because its unreadable!)
christer@007:~$ history | awk $({a[$2]++ } END{for(i in a){print a[i] " " i}})|sort -rn|head
96 ls
87 vim
70 cd
60 bzr
25 sudo
16 rm
14 ssh
13 grep
13 cat
11 scp
If this site has been useful, please consider participating in the Fundraiser.