I get distracted when running slow processes. Here is how I get notified when they are done.
Put the runtime of your previous command in your terminal prompt using Bash-Preexec
Here is a mostly automated way of syncing a directory using git whenever a file changes.
comm is a useful command line tool for looking for common and unique lines in files.
I manage my OS X windows efficiently using Phoenix and you can too.