Copy & Paste from the CLI (OSX)
To copy and paste from the command line interface in osx, you could simply use your mouse/trackpad. But real hustlers don't use the mouse/trackpad.
Let me introduce to you:
pbcopy & pbpaste
These two simple commands let you copy cli output: (example)
cat ~/hustler-mountain/that-shit-cray.md | pbcopy
and put the copied stuff somewhere else: (example)
pbpaste > ~/hustler-village/copy.md
Enjoy.
Written by Daniel Puglisi
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Osx
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#