Copy a file's contents to clipboard in Terminal
cat /path/to/file.txt | pbcopy
Written by Yale Spector
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#