In this tutorial you will learn:
- How to Copy and Paste Text into the Terminal
- How to Copy and Paste Text from the Terminal
Software Requirements and Conventions Used
|Category||Requirements, Conventions or Software Version Used|
|System||Installed Ubuntu 20.04 or upgraded Ubuntu 20.04 Focal Fossa|
|Other||Privileged access to your Linux system as root or via the |
|Conventions|| # - requires given linux commands to be executed with root privileges either directly as a root user or by use of |
Copy and Paste Text into the Terminal on Ubuntu 20.04 step by step instructions
- The first and preferred way to copy and paste text between the terminal window and any other application which allows text highlighting is to use mouse middle button (or scroll wheel). To copy and paste text into the terminal simply highlight any text you wish to copy. Then move to the terminal window and press the mouse middle button.
The beauty and simplicity of this method is that it works the same way when you copy and paste text from the terminal to any other application such as text editor, browser etc.
- If the above copy and paste method does not work for you from some reason, you can use the mouse right button instead.
- If you are used to copy and paste text using shortcuts
CTRL+vrespectively, know that this method also works on Ubuntu 20.04 Desktop but it does not work when you include terminal into the mix. The only difference here is that when dealing with the terminal, whether you copy or paste, you also need to include the
SHITFTkey into the process.
So for example, to paste text into the terminal you need to press
CTRL+V. Conversely, to copy text from the terminal the shortcut is
For any other application on the Ubuntu 20.04 desktop there is no need to include the
SHIFTto perform the copy and paste action.