History Meme

Yeah, well, I’ve seen all the UNIX wannabes out there do this, so I thought I’d take a stab at it too:

stealthbook:~ user$ history | awk '{a[$2]++} END{for(i in a){print a[i] " " i}}'|sort -rn|head
131 hg
92 cd
87 mate
33 ls
24 duplicity
15 mv
13 ssh
13 open
13 mkdir
10 convert

Notes for the unititiated:

  • I manage a lot of stuff with Mercurial – documents, source code, this site’s content, etc.
  • TextMate is, of course, my preferred text editor on the Mac.
  • duplicity is now available in MacPorts, and since I only have my laptop with me these days I’ve been using it to keep encrypted off-site backups of some of my stuff.
  • I use open a lot in Mac OS X. Few people know that you can do open -n to run a new instance of an application, or do ls | open -f to get a file listing (or any CLI output) in your editor (oddly enough, pbcopy didn’t make it to the listing above – I use that a lot, too).
  • ImageMagick is still one of the command-line tools I use the most, all things considered. Nothing beats it for quick image resizing and conversion – not even Pixelmator.

See Also: