history

I saw on Kees blog a history meme that was interesting so I must join in I think.

$ history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}' | sort -rn | head
87 vi
70 ls
50 ssh
50 cd
49 bzr
33 fg
17 ./manage.py
15 sudo
10 iconv
10 exit

I was surprised at how I use vi more than ls or cd. I was also surprised at how often fg shows up in there. :-/ ./manage.py is part of django.

I think that having multiple terminals open at once does crazy things to your history and I sometimes secretly thing that some of my history does not persist. For example, I’m pretty certain I’ve used scp more often than iconv.

Comments

Me 2 Meme

131 sudo
83 ls
65 cd
30 exit
30 clear
17 apt-cache
11 zoneadm
11 vim
9 sqlite3
7 zlogin

My production server, hosting django, html, php apps… (This is the global zone - I’m running Nexenta - OpenSolaris - where the zoneadm and zlogin commands come from)…

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You can use Markdown syntax to format and style the text.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
9 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Back to top