I failed to copy/paste print screen output in my question box. How to copy/paste output of a shell command from terminal screen to askubuntu question box?


Also, usually with the terminal, simply highlighting text can copy it and as mentioned, middle clicking will paste the selected text.

  • If that worked for you, would you mind checking off my answer? – ryekayo Jul 8 '14 at 20:05
  1. Just select the region of text in the Terminal.
  2. Right click on it.
  3. Select Copy.
  4. Right click on Askubuntu question area.
  5. Select Paste.

Also you can use Ctrl+Shift+C to copy and Ctrl+Shift+V to paste

** You can also Paste it at pastebin.ubuntu.com and put the link at askubuntu question.

** Also you can use the application pastebinit to send the terminal output directly to the pastebin.ubuntu.com

sudo apt-get install pastebinit
  • 2
    You can also use pastebinit. – Panther Jul 7 '14 at 1:24
  • sure, pastebin is helpful for lengthy output. – Panther Jul 7 '14 at 3:50
  • You can also press Ctrl-Shift-C to copy from a terminal (and similarly with V to paste) - this helps on laptops where trying to right click might destroy the selection. – Riking Jul 7 '14 at 6:57

In terminal the shortcuts are a bit different: CtrlShiftC for copy and CtrlShiftV for paste (because CtrlC and CtrlV are already occupied by other functions). A very detailed answer has been posted here.


Which OS are you running? If it's Linux, and you're using mouse, middle-click should also work in most apps: select some text, then left-click where it must be pasted, and middle-click to paste.


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