live by the command-line

# history|awk ā€˜{a[$2]++} END{for(i in a){printf ā€œ%5d\t%s\nā€,a[i],i}}’|sort -rn|head

55 ls
45 cd
8 nano
6 sudo
6 php
4 mkdir
3 zip
3 mv
2 rm
1 watch

It’s sort of funny if you read it like a story. I went somewhere, wrote something, made it run, created a folder for it, zipped it, moved it, erased it… then I watched.

via Denis.

Leave a Reply