Friday, April 25, 2008

History meme

Mom, Tim made me do it...

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

106 ls
96 sudo
52 cd
22 nano
16 man
16 find
16 exit
13 chmod
12 cat
10 scp
and, on the Virtual server that hosts samba,

romilly@pc031:~$  history | awk
'{a[$2]++}END{for(i in a){print a[i] " " i}}'
| sort -rn | head
111 ls
78 cd
76 sudo
32 exit
23 top
21 ping
18 df
13 du
11 scp
11 man

No comments: