Linux 如何粘贴到终端?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7123709/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-05 05:46:55  来源:igfitidea点击:

How to paste into a terminal?

linuxterminalcommand

提问by Kracekumar

I have copied a URL, such as git://gitorious.org/openhatch/oh-mainline.git. I want to paste this in the terminal using a keyboard shortcut.

我复制了一个 URL,例如git://gitorious.org/openhatch/oh-mainline.git. 我想使用键盘快捷键将其粘贴到终端中。

Pleasedon't say "right click and paste."

不要说“右键单击并粘贴”。

采纳答案by bear24rw

Gnome terminal defaults to ControlShiftv

Gnome 终端默认为 ControlShiftv

OSX terminal defaults to Commandv. You can also use CommandControlvto paste the text in escaped form.

OSX 终端默认为Commandv. 您还可以使用CommandControlv转义形式粘贴文本。

Windows 7 terminal defaults to CtrlShiftInsert

Windows 7 终端默认为 CtrlShiftInsert

回答by Jürgen Strobel

Mostly likely middle click your mouse.

很可能单击鼠标中键。

Or try Shift+ Insert.

或者试试Shift+ Insert

It all depends on terminal used and X11-config for mouse.

这完全取决于使用的终端和鼠标的 X11-config。

回答by Marten

Shift+ Insertusually works throughout X11.

Shift+Insert通常适用于整个 X11。

回答by Aitor

In Konsole (KDE terminal) is the same, Ctrl+ Shift+ V

在的Konsole(KDE终端)是相同的,Ctrl+ Shift+V

回答by Pierre Lacave

same for Terminator

终结者也一样

Ctrl+ Shift+ V

Ctrl+ Shift+V

Look at your terminal key-bindings if any if that doesn't work

如果不起作用,请查看您的终端键绑定(如果有)

回答by Nino Paolo

On windows 7:

在 Windows 7 上:

Ctrl+ Shift+ Ins

Ctrl+ Shift+Ins

works for me!

为我工作!