[izhar@hikari ~]$ history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
179 vi
112 python
96 cd
82 ls
37 rpmbuild
27 su
27 locate
23 ssh
23 rpmlint
22 diff
I use vim and python more than cd and ls ?? Thats unexpected.
[izhar@hikari ~]$ history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
179 vi
112 python
96 cd
82 ls
37 rpmbuild
27 su
27 locate
23 ssh
23 rpmlint
22 diff