Thursday, August 27, 2009

How to Copy & Paste in Terminal

There are two terminals in Ubuntu: the one you invoke with (Alt+F2) "xterm" and the one you invoke with (Alt+F2) "gnome-terminal".

The gnome-terminal has this "paste" function. Right click anywhere on hits area, and you'll have the Paste. The "xterm" has none. So you'll need other key combinations to paste and copy from xterm.

To paste into "xterm" (assuming you copied a text somewhere), press
Shift+Insert


To copy from "xterm", highlight the text using your mouse, then press
Ctrl+Insert