XSel is a command-line program for getting and setting the contents of the X selection. Normally this is only accessible by manually highlighting information and pasting it with the middle mouse button. WWW: http://www.vergenet.net/~conrad/software/xsel/