+1 (506) 500-5957 sales@monovm.com Get US VPS for 50% OFF!

How to Copy in Nano Editor | Nano Copy Command

Nano Copy Text Command, This short tutorial explains two different ways on how to copy in Nano editor.

Posted: 28 Jan, 21 Updated: 11 Dec, 22 by Antoniy Yushkevych 2 Min

List of content you will read in this article:

Nano is the most basic text editor for Linux based on the command line. It has all of the standard text editor features, such as syntax highlighting, several buffers, scan and substitutes with regular expression support, correcting typos, and UTF-8 encoding. Nano Copy command comes in handy when you don’t want to write the same text repeatedly. The following document will help you to understand how to copy in the nano editor.

In nano, you can copy the text using two methods, and they are: 

Method 1: Using the Shortcuts Key Combinations

In a nano text editor, we can copy using the following steps:

  • Set the target by moving the cursor to the beginning of the text and pressing CTRL + 6.
  • Now highlight the text you want to copy using the arrow keys.
  • After that, hold ALT + 6 to copy.

Method 2: Use the mouse in putty to copy in nano

Take the steps outlined below to copy text from the Nano editor :

  • To copy the text, keep the left mouse button down and move it to the right or left in the Nano editor to select the text so that the text is highlighted.
  • The highlighted section will be buffered in your clipboard, and you can use right-click to paste that into any section you need.

Using the following commands and shortcut keys, we can copy the text in the nano editor. This will help you to copy the text from any text file in nano instantly. We also saw how we could select and copy the text using the right-click menu bar. We have included all possible ways to copy a file in nano. 

People are also reading:

Antoniy Yushkevych

Antoniy Yushkevych

Master of word when it comes to technology, internet and privacy. I'm also your usual guy that always aims for the best result and takes a skateboard to work. If you need me, you will find me at the office's Counter-Strike championships on Fridays or at a.yushkevych@monovm.com