Nano editor

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)]

Author: BBT
Link: https://SurLeBoutDesDoigts.me/2019/09/16/nano-editor/
Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Comment