Linux pipe to clipboard
I use my clipboard a lot. This is simple, but has saved me a lot of time.
In your ~/.bashrc (or ~/.zshrc, whatever you use):
alias cb="xclip -sel clip"
Use:
command-with-output | cb
Of course, you'll need xclip installed to use this alias.
Written by Patrick Coffey
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#