How to paste into a terminal?
Asked Answered
B

7

97

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.

Please don't say "right click and paste."

Boyles answered 19/8, 2011 at 15:16 Comment(2)
Because I'm detail-oriented: "bash" is not a terminal. bash is a shell program that the user communicates with using a terminal.Trophozoite
"right click and paste" muahahaha I said itLindemann
P
136

Gnome terminal defaults to ControlShiftv

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

Windows 7 terminal defaults to CtrlShiftInsert

Palm answered 19/8, 2011 at 15:17 Comment(1)
Control-Shift-v also works for the terminator terminal emulatorBothy
C
25

Shift + Insert usually works throughout X11.

Cragsman answered 19/8, 2011 at 15:17 Comment(4)
shift + INS prints b in terminal.Boyles
@kracekumar, then that's the last thing you selected.Freudian
There are two clipboards (on linux systems), shift-insert pastes text which has previously been selected. Ctrl-v (or Right-click and copy) usually puts text in a different buffer, to paste from this buffer Ctrl-Shift-v (or right-click and paste).Bothy
Works in whatever terminal Puppy uses! Thanks!Virginiavirginie
S
13

Mostly likely middle click your mouse.

Or try Shift + Insert.

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

Seligmann answered 19/8, 2011 at 15:17 Comment(1)
Well middle click inserts directly without any menu if that was bothering you, and it is very fast if you already selected the text with your mouse. Else I agree a keyboard shortcut is faster.Outfall
R
10

same for Terminator

Ctrl + Shift + V

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

Reassure answered 19/8, 2011 at 15:19 Comment(0)
S
6

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

Saxe answered 19/8, 2011 at 15:18 Comment(0)
B
2

On windows 7:

Ctrl + Shift + Ins

works for me!

Brigidbrigida answered 1/8, 2012 at 17:37 Comment(1)
Worked on putty on UbuntuClearance
H
0

Like this article How to copy paste text and commands in the Linux terminal mentioned.
You can use middle mouse button to implement the functionality of paste. I tested it on terminal successfully.

Heddi answered 16/8, 2022 at 1:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.