Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

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?

share|improve this question

marked as duplicate by Braiam, jokerdino Jul 7 at 13:42

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

4 Answers 4

up vote 0 down vote accepted

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

share|improve this answer
    
It worked. Thanks for the prompt help –  user300301 Jul 8 at 20:05
    
If that worked for you, would you mind checking off my answer? –  ryekayo Jul 8 at 20:05
    
Thanks @ryekayo –  user300301 Jul 8 at 20:07
  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
share|improve this answer
2  
You can also use pastebinit. –  bodhi.zazen Jul 7 at 1:24
    
@bodhi.zazen thanks for pointout –  user308564 Jul 7 at 1:35
    
sure, pastebin is helpful for lengthy output. –  bodhi.zazen Jul 7 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 at 6:57
    
@Riking Thanks added it. –  user308564 Jul 7 at 7:14

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.

share|improve this answer

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.

share|improve this answer
    
It worked Thanks @Sebastian –  user300301 Jul 8 at 20:08

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