In a terminal in OSX I can pipe output to pbcopy and then go into a web browser and paste it. I tried this in Linux with xcopy but when I switch to the browser it just overwrites the clipboard with with whatever was in it the last time the browser was used. What works like pbcopy in Linux?
if you have X installed you may try xsel in this way :
or with xclip :
now you can use'em :
when I don't have X I use GNU Screen functionality to copy between open shells in a session using keyboard
to copy :
to paste :
* movements are done with vim like key bindings (j, k, l & m).