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)
Asked
Active
Viewed 8.7k times
2 Answers
55
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.
edwinksl
- 23,569
- 16
- 74
- 100
-
23Important 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
-
2Yes. We can edit these in Terminal profile. – Pavan Jadda Jul 23 '18 at 19:34
-
Thanks for this! Is there a way to also enable `Ctrl + Backspace` to delete an entire word? Right now it works with `Ctrl + W` – Usman Sabuwala Aug 07 '22 at 14:56
7
Copy / Paste in Terminal
Copy: Ctrl+Shift+C
Paste: Ctrl+Shift+V
You may also find usage for:
Copy: Shift+Home
Paste: Shift+Insert
Benny
- 4,790
- 2
- 18
- 33