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
Written by Tony612
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Cmdline
Authors
Related Tags
#cmdline
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#