Monday, March 19, 2012

Use Copy (Ctrl-C) and Paste (Ctrl-V) Keyboard Shortcuts In The Ubuntu Terminal

Linux users are acquainted with the Terminal use. But some of the major features we miss in terminal is the keyboard shortcuts. So we have to use the mouse instead like copy, paste etc. But in this tutorial a very  good news is to be revealed for Ubuntu users that it will be easier while copying & pasting in the Terminal as you do in any other places like Text editors, Web Pages etc. 

To copy using the CTRL+C keyboard shortcut, run simply this command from the terminal:
gconftool-2 -s /apps/gnome-terminal/keybindings/copy -t str '<Ctrl>c' 

For pasting using the CTRL+V keyboard shortcut, run this command: 
gconftool-2 --type string --set /apps/gnome-terminal/keybindings/paste '<Ctrl>v' 

N.B.
As for stopping currently running commands or services via the Terminal, you can press Shift+Ctrl+C

No comments:

Post a Comment