Linux blogger fad. Most used commands

26 05 2008

history|awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head -15

(I made it display the 15 most used commands, instead of the top 10)

480 su
143 cd
137 ssh
137 startx
86 htop
52 make
43 slocate
37 dmesg
32 iwconfig
30 sh
12 cat
10 rm
9 irssi
8 exit
7 ls

I use root way too much, am frequently changing into directories, frequently on remote computers, frequently initializing an X session, frequently using process viewers, frequently maintaining groups of programs, frequently finding files by name securely, frequently printing and controlling the kernel ring buffers, constantly configuring my wireless network, frequently using shell , frequently in the need to concatenate files and print their outputs, frequently removing files and direcorties, frequently using irssi, and always in constant need to list files in a directory.