How to copy and paste from a web page into a terminal


Back to the home page


Many how-tos tell you to use copy/paste with the mouse, for transferring command lines from a web page into a terminal window. That's easy and prevents typing errors.

But how do you do that, this copying and pasting with the mouse? This is how:

1. Place the mouse cursor on the line that you wish to select. Then press the ordinary left mouse button and keep it pressed. Now drag the cursor over the entire line, thus turning it into a highlighted text block.

Release the mouse button.

See the screenshot below:



2. Now make sure that the cursor is still resting on the highlighted text block. Click once with your right mouse button, which produces a small context menu. In that context menu, select Copy.

See the screenshot below:



3. Launch a terminal window. Click once with the ordinary left mouse button in that terminal window, in order to make it active.

Then do a click with the right mouse button in that same terminal window, which again produces a small context menu. In that menu, select Paste.

See the screenshot below (click on it to enlarge it):



4. You're done! The command line should have been transferred successfully into the terminal. Just press Enter to execute it.


Want more tips?

Do you want more tips and tweaks? There's a lot more of them on this website!

For example:

Speed up your Linux Mint!

Clean your Linux Mint safely

Avoid 10 fatal mistakes


To the content of this website applies a Creative Commons license.

Back to the home page

Disclaimer