home.


Tagged: unix-xsel


Unix: Copy to clipboard from command line

From the command line, you can copy large amounts of text to your clipboard, to be pasted in an grapical app, using xsel.

xsel --clipboard < some-text-some-text-some-text-that-is-text-TEXT.txt

Now you can paste in Libre Office, Firefox, or what have you. Rejoice!

unix unix-xsel

Page 1 of 1