Copy contents of file to clipboard from Terminal in OSX
cat file.txt | pbcopy
Written by Chris Jones
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#