Xclip

Copy command-line output to clipboard
cat spock2.txt | xclip -selection clipboard