There's a wealth of clipboards you could be dealing with.
(你可以处理很多剪贴板。)
I expect you're probably a Linux user who wants to put stuff in the X Windows primary clipboard. (我希望你可能是一个想要把东西放在X Windows主剪贴板中的Linux用户。)
Usually, the clipboard you want to talk to has a utility that lets you talk to it. (通常,您要与之交谈的剪贴板具有一个实用程序,可让您与之交谈。)
In the case of X, there's xclip
(and others).
(在X的情况下,有xclip
(和其他)。)
xclip -selection c
will send data to the clipboard that works with Ctrl + C , Ctrl + V in most applications. (xclip -selection c
将数据发送到剪贴板,在大多数应用程序中使用Ctrl + C , Ctrl + V。)
If you're on Mac OS X, there's pbcopy
.
(如果你使用的是Mac OS X,那就是pbcopy
。)
If you're in Linux terminal mode (no X) then look into gpm
or screen which has a clipboard.
(如果您处于Linux终端模式(没有X),那么请查看具有剪贴板的gpm
或屏幕 。)
Try the screen
command readreg
. (尝试使用screen
命令readreg
。)
Under Windows 10+ or cygwin, use /dev/clipboard
or clip
.
(在Windows 10+或cygwin下,使用/dev/clipboard
或clip
。)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…