-
Nano Commands
Article Entry Date: April 2,2026 @ 03:57:34 / Last Updated On: April 2,2026 @ 04:02:18
-
When I use a Linux Nano editor, I will post the commands here to share with others who are just getting into Linux and using the Nano editor.
I will try to add information for what each command does, or will link to a web page that explains it.
Make the mouse active every time you open Nano.
This will make it so you can use the mouse wheel to scroll the page.
This will also make it so you can click in any area and start to edit that section.
-- Open the following new file with Nano
-- Add this to it and save.
To open a file in Nano.
When you open a file in Nano, and need to scroll down to the bottom.
If the file is very large, the best way to get to the bottom of the file is to jump to it.
Use the following command to jump to the bottom of the Nano editor.
To paste content into Nano.
To copy content from Nano.
To undo something.
To select a section of text in Nano.
To select a large section of text in Nano that causes you to scroll down or up, you will need to set Marks.
Select the area, and set the beginning mark.
Scroll down or up until you have the entire selection selected.
To copy the text.
To cut the text.
To get out of the Mark, simply rerun the command.
To remove all the text from where the cursor is to the end of the file.