OSX – copy and paste using the pbpaste and pbcopy commands

This is a really handy guide to pasting content from your terminal straight out into your terminal.

i.e. running the command:

$ pbpaste

is a bit like doing:

$ echo '{whatever-is-inside-your-clipboard}'