Clipboard

xclip

Install

sudo apt-get install xclip

Usage

Command Line to Clipboard

To copy a file to the middle button clipboard:

cat robots.txt | xclip

To copy your public key to the clipboard:

xclip -sel clip < ~/.ssh/id_rsa.pub