How to Cut Copy and Paste in Nano Text Editor

In order to perform Cut, Copy and Paste operations on Nano editor you can make use of the keyboard combinations that you will see at the bottom of Nano text editor.

Nano Cut Copy Paste Options

To better understand, follow the below gif demo,

Demo Nano Cut Copy Paste

Step 1: Select/Highlight the text:

To select text to cut you can make use of Shift + Arrow Keys

Step 2: Cut the selected text:

After you select the text, press Control + K button to cut the text to the clipboard

Step 3: Paste the text from clipboard:

Move your cursor where you want to paste the text and press Control + U button

✌️In order to just copy the text in the clipboard, select the text and press Alt + 6 (this may not work on macOS)

Try Out Code2care Dev Tools:


Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
πŸŽ‰ We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR -