Nano editor

GNU’s nano is a small and easy to use text editor with additional functionality.


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.


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 [CC BY 3.0 (]

Author: BBT
Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.