Last Updated: February 25, 2016
·
305
· tony612

Two useful command about copy in OS X

pbcopy and pbpaste

You can use them like this:

man pbcopy | pbcopy
echo `pbpaste\` > tmp/pb_man.txt

refer:
man pbcopy, man pbpaste

or

https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/pbcopy.1.html