Day 101: pbcopy
Sometimes you want to have the result of a program or shell script to paste to your clipboard. On a Mac, the command pbcopy lets you do that. You just need to pipe the information to pbcopy.
As an example: python example45.py | pbcopy
Whatever would print in the console will now be on the clipboard. Nifty, right?













