Menu:

Unix commands


April 17, 2008

All the cool kids are pasting

history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head

into their command lines and posting the output on their blogs. I guess I might as well join the crowd.

98 cd
89 ls
61 java
55 emacs
41 ssh
30 grep
17 scp
10 rm
9 cp
7 ~/peek

Previous post | Next post

Jordan: 2008-04-17 20:52:32

"peek"?

And because I'm too lazy to post mine in the right place, here's my mac:

106 cd
93 ls
31 vi
23 grep
23 find
19 less
18 make
17 ssh
17 fg
15 sudo

And here's my headless ubuntu server cum console machine, though it runs screen with up to two dozen windows so it's hard to choose between them. I don't use unified history, though I do have a much larger history buffer so maybe it evens out:

1715 ls
1518 cd
547 exit
522 sudo
491 vi
330 rm
264 sdr
253 less
236 ssh
231 mv

Matt: 2008-04-17 21:25:55

peek is like netcat but for multicast.