jhip_q
Last Updated: February 25, 2016
·
352
· riyadhalnur

Copy to clipboard from terminal on OSX

To copy the contents of a file, from the terminal, to the clipboard on OSX:

pbcopy < <name of file/path to file>

Example

pbcopy < ~/.ssh/id_rsa.pub