History meme

OK, everybody does that:

history|awk '{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
103 l
82 svn
72 cd
22 rm
20 vi
20 make
17 sudo
16 grep
15 g
10 ps

l == ‘ls -lh’
g == ‘gnome-open’

3 comments ↓

#1 Licio on 04.10.08 at 16:43

l just for ls -lh? You are so lazy man!

#2 glop glop on 04.10.08 at 19:40

That’s nothing, I use :
l=ls
ll=ls -l
..=cd ..

:)

not to mention the ctrl-up binded to history-search-backward that I use constantly, sometimes to search really short commands :)
and while I’m at it, crtl-l for “|less” and ctrl-g for “|grep “. Really useful.

#3 Edward A Robinson: My top 10 commands 2.0 | Install and Use Ubuntu on 07.17.08 at 19:45

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

Leave a Comment