GNU’s nano is a small and easy to use text editor with additional functionality.
Usage
nano filename |
Nano will show the content of the text file which can be modified. You can navigate through the text using the arrow keys. At the bottom, you will see the most common actions, e.g save, exit.
Shortcuts
In nano:
^
before a letter means that the shorcut has to be used with Ctrl.M
before a letter means that the shortcut has to be used with Alt.
Action | Shortcut |
---|---|
Ctrl + k | Cut text |
Alt + ^ | Copy text |
Ctrl + U | Paste text |
Ctrl + x | Close file |
Ctrl + o | Save file |
Ctrl + w | Search text |
Alt + w | Save file |
Thumbnail image obtained from http://www.nano-editor.org/ [CC BY 3.0 (https://creativecommons.org/licenses/by/3.0)]