Macports is a great tool to easily install a ton of open source software on your Mac. The packages are generally very well maintained but that can be a little tough for very complex ones like The Gimp, the best (?) open source image processing software out there. Though you can download a prebuilt version of The Gimp, I wanted to build my own in order to leverage some third party plugins, like Tilt Shift photography.
- Quick calendar: "cal" will display this month's calendar, hit Shift-Cmd-C and you'll have it in your clipboard (cal 2010 will give you this year's calendar)
- Starting TextMate: Typing "mate ." from a Finder window will open TextMate in project mode in the current directory
- Comparing files: Select 2 files in the Finder, run DTerm, type "cmp" or "diff" then Shift-Cmd-V to paste the names of the files you selected into DTerm
- MD5 checksum: Select the files you want to sum and run "md5" + Shif-Cmd-V
- Info on all files in the current directory, including hidden ones: "ls -al"
- Create a series of folders in the current directory: much faster to type "mkdir foo bar foo/bar" than to use the Finder
- Quick lookup info on a domain: "dig google.com"
- Want your mac to read you something? Select some text, copy it, invoke DTerm and type "say" followed by pasting the text surrounded by quotes
- Byte, word, line counts: "wc" and the file(s) you're interested in