Copy & paste terminal output like a chump no longer!
run command_with_output | tee /path/to/destination/file.txt You’ll still get the output of your command to the terminal, but that output will also get piped into file.txt, thanks to the tee command. Pre-installed on OS X.