Xclip

Copy to clipboard

$ cat file.txt | xclip -selection clipboard