Last Updated: February 25, 2016
·
640
· danielpuglisi

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.