Pipe Terminal output to clipboard
I recently stumbled across the Mac OS X ‘pbcopy’ command. pbcopy allows you to pipe standard output to the clipboard. Very cool!
Here’s the man page:
http://developer.apple.com/DOCUMENTATION/Darwin/Reference/ManPages/man1/pbcopy.1.html
This will be very useful if I can remember it!