There is a way to put some command output to system clipboard via xclip
.
some-command | xclip -selection clipboard
I'd like to perform a reverse task – Print system clipboard to terminal. How it can be done?
bashclipboardxorg
There is a way to put some command output to system clipboard via xclip
.
some-command | xclip -selection clipboard
I'd like to perform a reverse task – Print system clipboard to terminal. How it can be done?
Best Answer
According to the manpage the
-o
option toxclip
shoves data in the opposite direction:In your above command, the
-i
is being assumed.