14

How can I make copy/paste in the Ubuntu 16.04 Shell? For example, pasting a string from my browser to the cli and execute it as a command (Ctrl+V not working by default)

29

For pasting text into the terminal, you can either use Ctrl+Shift+V or use your mouse's middle click if there is one.

For copying text in the terminal, you can either use Ctrl+Shift+C or use your mouse to select the text of interest and then use its middle click to paste it.

| improve this answer | |
  • 6
    Important note: You can edit these shortcuts in Edit > Key combinations (translated from my spanish version of the Terminal), and set the legendary Ctrl+C and Ctrl+V! – voghDev Jan 23 '17 at 15:32
  • 1
    Yes. We can edit these in Terminal profile. – Jadda Jul 23 '18 at 19:34
5

Copy / Paste in Terminal

Copy:  Ctrl+Shift+C
Paste: Ctrl+Shift+V

You may also find usage for:

Copy:  Shift+Home
Paste: Shift+Insert

| improve this answer | |

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