Re:Yank: Yank Terminal Output to Clipboard
by euske on Sunday March 28, 2021 @04:17AM
(#26608786)
You can do this with tmux too.
(edit: my actual setup is slightly different. It interacts with a Windows clipboard via ssh where the terminal is running. cf. https://github.com/euske/pyrexecd/blob/master/tools/tmux.con... )
[ Parent
| on HN ]
You could also use `xclip -selection clipboard` if you wanted it to end up in your clipboard (so you can use ctrl-v to paste) instead of in your primary selection (the one where highlighting text copies and middle click pastes).