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.

Can anyone tell me the way to copy commands from the Ubuntu terminal? I tried Ctrl+C, Shift+Ins, right click option but none of these works.

share|improve this question
    
just holding single click and dragging or double click to highlight the entered command and do ctrl+shift+c , also Mouse right click copying also works. –  atenz Jun 24 '12 at 16:00

4 Answers 4

Just select the text you want to copy and go to the place on the screen where you'd like to paste the text. Press middle click button of mouse and its done! Its easier than the other methods...

share|improve this answer
    
You might want to see this page too to understand a bit more about clipboards in ubuntu. cyberciti.biz/faq/… –  drake01 Jun 24 '12 at 15:59

Ctrl+Shift+C : Copy

Ctrl+Shift+V : Paste

share|improve this answer

Use the mouse: Right Click > Copy

share|improve this answer
    
On right clicking whatever i select gets deselected –  Nikki Jun 24 '12 at 15:51
    
Try Ctrl+Shift+C –  AndAC Jun 24 '12 at 15:55
    
Selecting with the mouse requires you to: Put the pointer in the Terminal, drag the pointer for the text you want using the left mouse button, then you right click the text and select copy. –  Uri Herrera Jun 24 '12 at 16:55
    
@UriHerrera This method requires those initial steps too. –  Eliah Kagan Jun 24 '12 at 23:57

Use the command history to display a list of all previously issued commands.

Next copy the commands by holding the left mouse and dragging to highlight the list, then right click and select copy.

Then open gedit, libre office or such, right click and paste, then save the file.

share|improve this answer
    
I used history and then after selecting everything i wanted to copy when i right clicked the things which were selected get deselected and on pressing ctrl+shift+C after selecting on terminal this comes:^C.sorry but i am new to ubuntu. –  Nikki Jun 24 '12 at 17:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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