Skip to content

Instantly share code, notes, and snippets.

@aussielunix
Created September 9, 2018 06:57
Show Gist options
  • Save aussielunix/6af210cb8a95d3607259a2cb2698dbcc to your computer and use it in GitHub Desktop.
Save aussielunix/6af210cb8a95d3607259a2cb2698dbcc to your computer and use it in GitHub Desktop.
pbcopy and pbpaste on linux
$ sudo apt-get install xclip -y
$ echo "alias pbcopy='xclip -selection clipboard'" >> ~/.bash_alias
$ echo "alias pbpaste='xclip -selection clipboard -o'" >> ~/.bash_alias
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment