Program that copies command output to the clipboardxsel is a linux GNU tool used to copy command line output or file output to your standard clip board for pasting.http://linuxtidbits.wordpress.com/2008/02/22/command-line-to-clipboard/To copy a text to the middle mouse button clipboard:
xsel < /etc/fstab
xsel --clipboard < /etc/fstab
echo “a-bit-of-text†| xsel -c
cat /etc/make.conf | xsel -c
xsel --clipboard
xsel --clipboard > Baada-Boom.txt
xsel --clipboard >> ~/.bashrc