We use Ctrl+V to paste stuff from clipboard, but this is not working on terminal window.

What is the keyboard shortcut to paste on the GNOME terminal?

  • 6
    Ctrl-Shift-C and Ctrl-Shift-V are the respective shortcuts. Another thing that also works with Linux (in general): if you mark a fragment of text, without any shortcut, you can paste it in by clicking the middle mouse button. – January Oct 18 '12 at 12:27
up vote 96 down vote accepted

Have you tried using Ctrl + Shift + V

  • Why not just Ctrl + V ? I dont get it... – user1767754 Jun 1 '15 at 16:06
  • doh... could have saved me so much time – tobi Aug 1 '15 at 17:56
  • 2
    @user1767754 This shortcut is already used by most terminals to indicate that the next key should be inserted literally. This allows for example to insert a raw Tab character into terminal. – Jan Warchoł Nov 28 '15 at 19:28
  • thanks a lot man , you just saved my thousands of second – nur farazi Mar 31 '16 at 2:42

You have to use Ctrl+Shift+V to paste into a terminal. Copy is similar; use Ctrl+Shift+C to copy from a terminal.


Arild's comment explains (edited a bit):

Following tradition, some Ctrl+(letter) shortcuts are mapped to entering control characters in the terminal (see How control characters map to keyboards on Wikipedia). That's why we cannot use them for copy and paste. The shortcuts can be overridden in Edit > Keyboard Shortcuts, but especially Ctrl+C is useful to keep assigned to the control character ETX, which is used to interrupt the current command.

  • 7
    Following tradition, some Ctrl+(letter) shortcuts are mapped to entering control characters (en.wikipedia.org/wiki/…) in the terminal. That's why we cannot use them for copy and paste. The shortcuts can be overridden in Edit > Keyboard Shortcuts..., but especially Ctrl+C is useful to keep assigned to the control character ETX, which is used to interrupt the current command. – Arild Aug 3 '14 at 12:13
  • @Arild I've added that into the answer, thanks! – wjandrea Dec 25 '17 at 1:24

Ctrl+Insert for 'copy', Shift+Delete for 'cut' and Shift+Insert for 'paste' also works on most places, including GNOME terminal.

  • 2
    Shift+Insert pastes "primary selection" (xsel). Ctrl+Shift+V pastes clipboard (xsel -b) on my machine (Ubuntu 16.04, GNOME Terminal). – jfs Sep 14 '17 at 12:31

Like said by others, Copy is CTRL + SHIFT + C and paste is CTRL + SHIFT + V as opposed to a normal text field.

So in short, just add shift to many other text editing shortcut to use it in the terminal.

Here are a couple examples:

Copy: CTRL + SHIFT + C

Paste: CTRL + SHIFT + V

Find: CTRL + SHIFT + F

Close terminal window: CTRL + SHIFT + W

Close all terminal windows: CTRL + SHIFT + Q

and etc.

  • 1
    (We're generally not supposed to use comments for +1, but I want to say this is an excellent first answer: concisely adds new info and improves on existing answers.) – chaskes Dec 25 '17 at 1:04

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.