“Brilliant people simplify things, and mediocre people complicate things.” — Unknone

My top 10 commands

I thought it was nifty when Jorge Bernal did a My top 10 commands, so here are mine. Funny thing was that Jorge Bernal command did not work for me so I added on a few extra commands to make it work for me.

history | awk ‘{print $2}’ | awk ‘BEGIN {FS=”|”} {print $1}’|sort|uniq -c | sort -n | tail | sort -nr

Note: wordpress seems to be messing up the single and double quotes, you need to remove them and retype them in

Rank Times Searched Command Comment
10 5 ssh Remote login to my other computers.
9 9 geany Best IDE I have found.
8 9 history If I want to look at recent commands I have used.
7 12 xpdf Good pdf viewer.
6 15 python One of my favorite programing languages.
5 38 svn Subversion, great revision control for all my projects.
4 41 ./a1q3.py An assignment I was working on.
3 59 gnome-open Will open any file just as nautilus would have if you had double clicked the file.
2 127 cd Change directory.
1 150 ls List directory.

What are your top 10 commands?

25 Comments

rssComments RSS transmitTrackBack Identifier URI


I’m not on planet but I’m reading it. So, here are my results:
189 cd
126 ls
18 df
17 mplayer
15 su
14 vim
11 du
10 wine
9 mutt
6 apt-cache

Comment by Igor Stirbu on June 12, 2007 4:12 pm


98 sudo
68 cd
64 ls
49 aptitude
39 cat
11 whois
11 man
10 ps
10 ping
7 lspci

Hmm. Guess I’m being a mod here ^^

Comment by bapoumba on June 12, 2007 4:24 pm


6228 ls
3656 sudo
1891 cd
1850 rm
1030 less
718 perl
653 cat
651 eix
527 iconv
515 nano
Lots and lots of Perl one-liners to do everything for me.

Comment by ephemient on June 12, 2007 4:36 pm


1. *click*
2. *click* *click*

Comment by mike on June 12, 2007 6:32 pm


lol mike, thats great yes you can use linux and the gui!

Comment by earobinson on June 12, 2007 7:47 pm


157 ls
69 links
32 df
23 find
18 whois
18 cd
15 man
14 vi
14 history
14 exit

The only problem is that I have gnome-terminal shortcuts for a whole bunch of commands like ssh to regular servers that aren’t covered.

Still nifty.

Just not nifty complete.

Comment by Jim on June 12, 2007 8:25 pm


I assume your history has been set up to record a lot more than the default amount ephemient

Comment by earobinson on June 12, 2007 8:46 pm


Well, here’s mine:

81 ls
66 gvim
56 sudo
33 vi
33 ssh
20 top
20 du
19 cat
16 cd
13 mv

Comment by Carsten Agger on June 12, 2007 9:01 pm


63 sudo
60 screen
57 cd
40 ls
27 wget
25 ps
22 pico
19 killall
14 ssh
13 kill

Hm.. probably should cut down on doing that many killalls.

Comment by Pici on June 12, 2007 9:40 pm


This is mine… on my just installed system.

36 apt-get
26 find
23 vim
12 kismet
11 iwconfig
10 ls
10 cd
7 airmon-ng
6 df
5 wlanconfig

Comment by Sebastian on June 12, 2007 9:47 pm


awk: 1: unexpected character 0xe2
awk: line 2: missing } near end of file
awk: 1: unexpected character 0xe2
bash: ”}: command not found

>_

Comment by n2j3 on June 12, 2007 10:12 pm


wordpress seems to be messing up the single and double quotes, you need to remove them and retype them in

Comment by earobinson on June 12, 2007 10:35 pm


139 ls
124 cd
53 exit
36 vim
30 man
24 locate
19 less
9 sudo
9 rm
9 mutt

Comment by Donnie on June 13, 2007 2:32 am


115 ssh
80 apt-cache
43 ping
25 sudo
24 ls
22 cd
20 dig
14 man
11 whois
8 history

Comment by theo on June 13, 2007 6:34 am


earobinson, if you enter them into the Wordpress textarea as ampersand-”quot”-semicolon and ampersand-”apos”-semicolon, you should have more luck :)

Comment by porges on June 13, 2007 7:35 am


114 sudo
110 ls
79 cd
28 mplayer
26 wine
25 cp
15 more
14 exit
13 mencoder
10 gedit

Comment by Keith on June 13, 2007 5:39 pm


history | awk ‘{print $2}’ | awk ‘BEGIN {FS=”|”} {print $1}’|sort|uniq -c | sort -n | tail | sort -nr
132 sudo
71 ls
51 cd
22 sysupdate
20 hcitool
14 ssh
11 wget
11 truecrypt
11 exit
8 ps

sysupdate is a simple bash script for ubuntu i wrote it’s like 2 lines.

Comment by wormeyman on June 13, 2007 9:08 pm


69 sudo
61 cd
58 man
49 metaflac
42 find
34 ls
23 ps
22 grep
19 ssh
17 cksfv

Comment by Repabil on June 14, 2007 6:03 pm


[...] commands Posted on June 15th, 2007 by Sebastian. Categories: Technology.There’s been some talk on Planet Ubuntu about the most used [...]

Pingback by Most used commands @ Sebastian’s blog on June 15, 2007 9:25 am


26 sudo
17 cd
15 ssh
12 ls
9 exit
7 top
7 pkill
7 glxinfo
4 locate
4 less

Comment by Jason on June 20, 2007 6:36 am


68 grep
52 sudo
46 man
19 banner
18 xprop
15 cd
14 killall
14 find
13 whereis
13 ./all.sh

Comment by A_Greek on July 9, 2007 11:35 am


[...] know that this has been done before but it seems to go around every once in a while and I always have fun reading them. So once again [...]

Pingback by earobinson » My top 10 commands 2.0 on April 10, 2008 4:30 pm


86 sudo
43 awk
36 pon
35 cat
32 ls
28 history
23 man
19 nano
17 cd
16 strace

I am just a student preparing for Yahoo!.My perl programs are in script form,so none over here.I am working on this script of yours and one of my early ones which doesn’t take “|” into account,but gives same result,and uses lesser number of processes to do it.
I am looking forward to being able to produce more results in an efficient manner.

Btw,good blog.

Comment by Vivek on June 6, 2008 12:56 pm


@Vivek Thanks

Comment by earobinson on June 6, 2008 1:01 pm


[...] know that this has been done before but it seems to go around every once in a while and I always have fun reading them. So once again [...]

Pingback by Edward A Robinson: My top 10 commands 2.0 | Install and Use Ubuntu on July 17, 2008 6:44 pm

addLeave a comment