April 10, 2008...1:48 pm

Shell history

Jump to Comments

What the heck.  I have seen this before but never thought to do it myself. Here is my shell history.

[elake@ronin ~]$ history|awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
190 cvc
157 vim
128 cd
98 ls
98 conary
85 sudo
46 rmake
44 cat
15 locate
15 exit

cvc and rmake are commands that are used for creating packages for Foresight Linux. The rest everyone should know :)

6 Comments


Leave a Reply