pbcopy

pbcopy and pbpaste are command for Mac. pbcopy lets you copy the the output of the command into your clipboard. pbpaste lets you paste the output right into the terminal

  • When to use ?

If you face a situation where you need to copy all the contents of the file without opening the file ,this is a great option but this is only exclusive for mac

cat testfile.org | pbcopy

pbpaste
Edit this page on GitHub