Interesting Statistics

jimmac@hal:~> history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
206 git
173 cd
71 ls
56 rug
42 ssh
27 vim
25 gvim
25 git-svn
24 sudo
23 less

29 Responses to “Interesting Statistics”

  1. Russ Says:

    65 git
    43 cd
    42 nano
    37 ls
    27 make
    26 sudo
    19 exit
    17 rm
    17 man
    17 find

  2. Ian Says:

    108 sudo
    65 ls
    59 cd
    20 cat
    12 whois
    12 perl
    10 find
    8 ps
    6 vi
    6 /home/ian/Desktop/original/convert/contrib/webgallery-zenity.pl

  3. Sandy Says:

    You’re just begging for this sort of spam…

    198 svn
    142 cd
    115 ls
    61 exit
    45 cp
    40 make
    27 sudo
    27 ps
    25 gedit
    21 rm

  4. ulrik Says:

    148 git
    76 cd
    28 vim
    22 lf
    20 scons
    20 man
    20 cat
    18 ~/pt/src/git/git-archive
    9 sudo
    9 less

    Hey, what is rug?

  5. jimmac Says:

    Ian, yay! Original :) .

    ulrik: http://www.snorp.net/log/2007/04/26/return-of-the-carpet/

  6. P??draig Brady Says:

    90 l
    82 cd
    78 exit
    62 vim
    48 ssh
    29 scp
    16 man
    15 grep
    10 p4
    10 find

    It would be cool to have a command pop chart collated
    from this info by distros, so that new users could see the
    most useful commands to focus on.

  7. Robin Says:

    ooops…

    321 Thu
    265 Wed
    176 Mon
    159 Tue
    79 Fri

    ;-)

    (I had HISTTIMEFORMAT set to %c)

  8. Be the signal » Shell history stats Says:

    [...] Okay, I’ll bite: [...]

  9. jimmac Says:

    Looks like the Fedora people started quite a ‘chain letter’. ;)

  10. gnegg » Blog Archive » Shell history stats Says:

    [...] seems to be cool nowadays to post the output of a certain unix command to ones blogs. So here I [...]

  11. Shell History « Bobbo’s Blog Says:

    [...] Shell History OK, my turn: [...]

  12. Johan Dahlin Says:

    1593 ls
    1451 svn
    1098 cd
    404 python
    391 less
    376 sudo
    375 flumotion-admin
    317 make
    249 find
    246 grep
    209 ssh

    export HISTSIZE=10000 rocks!

  13. Ubuntu Daily » Blog Archive » My Shell history Says:

    [...] the latest meme, here are my 10 most used commands in the shell history: tim@tim:~$ history | awk ‘{a[$2]++ } [...]

  14. Ian Says:

    Jakub,

    Yeah, I’m *slowly* adding some utilities to your gallery, a web based conversion and uploading tool and perhaps, a similar tool as a simple desktop application. I was interested in using the F-Spot patch, but that wouldn’t work with MS or OSX(?).

    Thanks and cheers to you!

  15. Shell history stats | Crisis Says:

    [...] Giusto per non farci mancare un meme… [...]

  16. Shell History Stats « Andy’s Blog Says:

    [...] History Stats 10 04 2008 Seguo un meme visto su CrisIs, e lo trasferisco sul mio Mac (che sempre Unix [...]

  17. earobinson » My top 10 commands 2.0 Says:

    [...] 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 [...]

  18. googlehimer Says:

    whats the difference between the following?

    $ history | awk �{print $1 }’ | sort | uniq -c | sort -rn | head
    $ history | awk �{a[$2]++} END{for(i in a){print a[i] � � i}}’ | sort -rn | head

    As far as i can see both give the same output

  19. jose americo gobbo Says:

    94 sudo
    65 ls
    57 cd
    27 metapixel
    20 xsetwacom
    19 ./configure
    16 winefile
    16 make
    12 wine
    11 ssh

  20. Romeo Adrian Cioaba Says:

    80 sudo
    62 cd
    60 ls
    18 synergys
    18 killall
    15 ps
    13 ping
    12 apt-cache
    10 more
    9 tar

  21. Bash History Stats « Unforgettable Says:

    [...] April 12, 2008 by Leon Feng Joining the fun… [...]

  22. History meme � mcc.id.au Says:

    [...] 14 April 2008   ·   (Ultimately from here.) [...]

  23. notebook » Blog Archive » More nerd things! Says:

    [...] via: macbeezy:thehungrylion benny$ history|awk ‘{a[$2]++} END{for(i in a){printf [...]

  24. Heather Marsh Says:

    241 cd
    126 ls
    27 gem
    21 chown
    21 chmod
    18 mongrel_rails
    16 vi
    16 /etc/init.d/httpd
    15 /etc/init.d/mongrel_cluster
    12 tar

  25. Edward A Robinson: My top 10 commands 2.0 | Install and Use Ubuntu Says:

    [...] 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 [...]

  26. name Says:

    Good day!,

  27. B_jonas Says:

    $ history | awk ‘{print $2}’ | sort | uniq -c | sort -rn | head
    5750 l
    4999 perl
    2831 cd
    1990 less
    1918 make
    1877 man
    1774 svn
    1682 joe
    933 su
    894 jconsole
    $ type l
    l is a function
    l ()
    {
    ls -aF “$@”
    }

  28. Shell History at David Futcher | bobbo.me.uk Says:

    [...] OK, my turn: [...]

  29. Jim Says:

    68 ssh
    51 elinks
    42 ls
    38 sudo
    35 cd
    34 screen
    27 scp
    22 apt-cache
    21 man
    13 mpg123

    mpg123- yeah the command line mp3 player. this is my netbook.

Leave a Reply