Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was wondering if there are shortcuts for selecting some text in terminal, just similar to holding shift and type arrow key in editing a text file in a text editor. Thanks!

share|improve this question

I'm assuming you are referring to Gnome Terminal.

No - there isnt a Copy and Paste mechanism using just the keyboard - you can use various short-cuts to paste (depending upon your Ubuntu version) i.e. CTRL+ Shift + Ins , Shift + Ins or CTRL+ Shift + V to paste text in the clipboard.

However, if you type screen you enter the terminal emulator which allows you to select, copy and paste text using just the keyboard.

To select (copy):

Press Ctrl + A together followed by Escape. This puts you into Copy mode. Using the cursor keys move to the beginning of the text you want to copy. Press Enter. Now move to the end of the text to be copied. Press Enter.

To Paste:

Press Ctrl + A together followed by ].

share|improve this answer
My question is more about selecting text not about copying and pasting. – Tim Jul 30 '11 at 23:18
I prefer using keys to select text instead of using mouse or touchpad. – Tim Jul 30 '11 at 23:24
nope - I must be thick! still dont understand - do you want to discuss this in chat? – fossfreedom Jul 30 '11 at 23:26
Thanks! In a text editor, one can select text by pressing down SHIFT, and simultaneously pressing -> or <- keys. But in gnome terminal, this will not work. – Tim Aug 2 '11 at 17:26
how complicated for such a simple task... I'm disappointed :( – Juh_ Oct 29 '14 at 10:26

Your Answer


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.