My Top 15 Commands

Filed under
Linux

Some folks have started the "Top X Commands" topic around the blogosphere again, and it always fun and interesting. So, here are mine, both user and root. What are yours?

User:

110 ls
65 cd
55 tar
28 rpm2tar
21 ping
18 rm
14 weather
14 wc
14 mplayer
14 df
13 wget
12 su
12 cat
11 ssh
11 mv

Root:

91 ls
82 emerge
33 mount
22 growisofs
22 cat
21 cd
20 exit
15 locate
14 killall
13 revdep-rebuild
11 nano
10 umount
10 ln
10 history
9 rm

The guys who started it this time are sontek and his inspiration: someone named Sam. It's interesting to see what others' Top 10 or 15 commands are. It can tell you a lot about that person. Unlike the way the keep their house or what kind of vehicle they drive you won't get a picture of their personality, but you can see how a computer fits into their life. Is it a hobby? Are they software or web developers? Do they make their living with it? What kind of distribution is it? What is their favorite editor? etc... Although not as revealing as in the past, with all the gui stuff being used these days, but it's still fun.

What are yours? Here's the code: history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -n | tail -n 15 | sort -nr