add text to nano editor code example
Example 1: Create and edit a new file nano
# Create and edit a new file using nano
sudo nano "fileName"
Example 2: paste in nano
To copy & paste in nano text editor:
1. Move cursor to start of text and press CTRL + 6 to set mark.
2. Highlight text to copy using arrow keys.
3. Press ALT + 6 to copy.
4. Move cursor to desired location and press CTRL + U to paste.