Copying text from a terminal window

In an earlier posting, it was noted that the keyboard shortcut Ctrl-Shift-V was needed to paste text into a terminal window rather than the simpler Ctrl-V. It didn’t occur to me at the time that there might be a similar shortcut for copying text from a terminal window. However, I came across a recent posting indicating that such an action may be conducted by using – you guessed it – Ctrl-Shift-C.

The same posting indicates the reason why the keyboard shortcut Ctrl-C cannot be used for this purpose – “Ctrl + C is already assigned to another command, which is the one that interrupts the program that is running in the terminal.”

References:

Making Ctrl+C copy text in gnome-terminal?
http://askubuntu.com/questions/53688/making-ctrlc-copy-text-in-gnome-terminal

Pasting text into a terminal window
https://linuxnorth.wordpress.com/pasting-text-into-a-terminal-window/

Advertisements
This entry was posted in Commands. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s