Skip to content
 

My top 10 commands 2.0

I 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 here are my top 10 commands.

My Computer
[sourcecode language="python"]earobinson@MinusOne:~$ history|awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
143 cd
114 ls
53 make
48 svn
34 svnup
18 sh
12 cat
11 rm
11 geany
9 touch
earobinson@MinusOne:~$ alias svnup
alias svnup=’. /media/data/dev/scripts/svnup/svnup.sh’
[/sourcecode]

Laptop
[sourcecode language="python"]earobinson@NaN:~$ history|awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
138 make
82 ls
70 cd
41 cmake
33 svn
19 svnup
18 cat
16 man
12 ./A/runA
10 geany
earobinson@NaN:~$ alias svnup
alias svnup=’. /media/data/dev/scripts/svnup/svnup.sh’
[/sourcecode]

Girlfriends Computer
[sourcecode language="python"]earobinson@Null:~$ history|awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
49 espeak
7 sudo
1 vi
1 top
1 ssh
1 man
1 ls
1 history|awk
1 history
1 exit
earobinson@Null:~$ espeak “love ya baby”
[/sourcecode]

7 Comments

  1. Tom Haddon says:

    Was interested by the espeak command. Tried it and got the following (on hardy). Is this a pulseaudio issue?

    PaHost_OpenStream: could not open /dev/dsp for O_WRONLY
    PaHost_OpenStream: ERROR – result = -10000
    PaHost_OpenStream: could not open /dev/dsp for O_WRONLY
    PaHost_OpenStream: ERROR – result = -10000
    PaHost_OpenStream: could not open /dev/dsp for O_WRONLY
    PaHost_OpenStream: ERROR – result = -10000
    PaHost_OpenStream: could not open /dev/dsp for O_WRONLY
    PaHost_OpenStream: ERROR – result = -10000

  2. earobinson says:

    @Tom Haddon kinda, espeak dose not support pulseaudio so you need to close all other program that are making sound in order for it to work

  3. Tom Haddon says:

    Yeah, tried that. Same result… thx anyway

  4. earobinson says:

    Firefox is what always gets me

  5. [...] came across this over on Planet Ubuntu from Ubuntu hacker Edward Robinson.  Entering the following pipeline into your bash terminal will give you the sorted list (by [...]

  6. [...] inspiration from earobinson’s top commands, I’ve decided to publish my own list of top 10 commands. Running the following [...]

Leave a Reply