the history meme

It seems everyone else is doing it…

history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
460 git
91 rug
88 cd
81 ls
34 xrandr
16 ssh
15 vi
15 killall
12 gitk
11 gvim

Notes:

  • I save a lot of my history.
  • Obviously, I use git a lot.
  • I guess I also do a lot of command-line package management.
  • Usually I navigate via Nautilus and open directories there, or I will navigate to certain directories and just do “new terminal” and then it will default to the same directory.
  • xrandr is so high because I kept trying to get dual-head working the exact way I wanted to one day (and a lot of those are xrandr –help).
  • I guess I don’t ssh as much now as I used to, although when I do, they’re usually long-lasting ssh sessions.
  • vi is the result of quick edits… When I run gvim, it’s more long-lasting editing sessions, where I do not often close the window; I open multiple files in tabs and keep a window open at all times.
  • I run a lot of commands either in alt-f2 or through gnome-do… and I usually use the slab (and gnome-do too) for launching GUI software.
  • Just FWIW: If I had a tally of the GUI apps I use, it would probably be in this order: Firefox (mainly version 3 betas, sometimes version 2), Nautilus, gnome-terminal, vim, x-chat, pidgin.

5 Responses to “the history meme”

  1. […] everyone seems to be doing it: $ history|awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head 189 […]

  2. […] most recent meme in Planet GNOME is listing your most used commands using a clever command line hack. Here are mine, […]

  3. Jessie says:

    You’ve maeangd a first class post

  4. DziÄ™kujÄ™ Ci.Potrzeba nam rozmów, nie tylko sporów.Ale tylko spór zmienia Å›wiat.Potrzeba nam miÅ‚oÅ›ci i gniewu.One utrzymujÄ… ludzkość przy życiu.CzytaÅ‚aÅ› notkÄ™ o pomniku Inki?Pana Johna Maya?ZwinÄ™li….!Dobrej nocy!Stefania

  5. Una manera fantástica (y deliciosa) de homenajear a Japón en estos momentos difíciles. Gracias por difundir las distintas iniciativas y los medios para hacer donativos.Me encanta esa obra de Hokusai, es preciosa y fascinante. Es verdad que en Occidente se olvida muchas veces el arte de Oriente; en mi carrera de Historia del Arte apenas nos enseñaron nada. Menos mal que siempre podemos ser autodidactas para conocer otras culturas.Un abrazo

Leave a Reply