Note: Terminal clipboard control

OS X (built in)

  • echo ‘lol’ | pbcopy
  • pbpaste > file.txt

Ubuntu (install xsel via apt)

  • xsel –clipboard < new-clipboard-contents.txt
  • xsel –clipboard > current-clipboard-contents.txt

Windows (?)

  • pclip.exe
  • gclip.exe
Advertisements