Ubuntu Tech Snippet #8 – Copy and Paste in Terminal with the keyboard

What’s the big deal?

One of the many things that power users use to be more efficient on their PC is using the mouse as little as possible. The less clicking and movement, the better. At least, that’s how I prefer it. If I’m working on coding or writing (like this blog post, for example!) and I can keep both hands on the keyboard and not have to mess around, clicking on stuff, then I’m far faster.

Thus, this shortcut/tech tip was awesome when I found out about it! Normally, when using the Ubuntu terminal, one would have to right-click and then choose copy or paste. While this may not seem like that much to your average user, being able to lose that extra three/five seconds when doing lots of research, debugging, or simply following instructions on a tutorial, can be a big deal.

How doth this worketh?

This tech tip is quite simple, comprising of two different keystroke combos.

First up, is the terminal version of Ctrl+C. You simply tack on the Shift key in that sequence, so it is now: Ctrl+Shift+C. Basically, it’s the normal keyboard shortcut for copying, with the Shift key added on.

That’s right, it’s that simple. Normally, pressing Ctrl+C in a terminal window would terminate whatever program was being used. Adding that shift key makes it so that the terminal ignores the normal useage of Ctrl+C, and uses it in the GUI fashion.

And the paste shortcut is exactly the same. Simply take the normal paste shortcut Ctrl+V, and add the shift key after the Ctrl key: Ctrl+Shift+V.

Conclusion:

That’s all! While this may not benefit everyone, and it most definitely won’t, I know it will be useful to someone, if even just me.

Make sure to comment down below with any tips of your own you want to submit!

Advertisements
Tagged , , ,

Tell us what you thought!

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

%d bloggers like this: