This question already has an answer here:
Trying to copy to clipboard from command line by using command:
Trying to get out from clipboard:
This prints the content of
sources.list and it is fine.
But now I try to paste into
eclipse project and got some old clipboard content. Looks like
xclip uses its internal clipboard.
How to copy into system clipboard from command line?