Skip to content

Instantly share code, notes, and snippets.

@mnem
Created December 7, 2011 16:35
Show Gist options
  • Save mnem/1443488 to your computer and use it in GitHub Desktop.
Save mnem/1443488 to your computer and use it in GitHub Desktop.
pbcopy and pbpaste for linux
# Emulate pbcopy and pbpaste for copying to and from the pasteboard/clipboard
#
# via: http://whereswalden.com/2009/10/23/pbcopy-and-pbpaste-for-linux/
alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment