Using the X clipboard from the command line
Par Stephane Sales le dimanche, 6 janvier 2008, - Bookmark - Lien permanent
Ever want to copy the output of a command to the clipboard and paste it elsewhere? How about pasting into the input of a command? xclip lets you do exactly that.