Shortcuts/Commands
When using nano
, one may notice the commands at the bottom of the text editor.
Shortcuts such as Exit, Write Out and Replace are denoted by the symbol “^” followed by a letter key. In nano
“^” corresponds to the Ctrl key. For example, to exit the nano text editor you would press the keys Ctrl + X.
Along with Ctrl commands, Alt commands are used in nano
. Shortcuts labeled with “M-” followed by a letter key, correspond to the combination of Alt plus another key.
The following commands are commonly used when operating nano:
Shortcut Description
|
nano Notation
|
Keyboard Shortcut
|
Exit
|
^X
|
Ctrl + X
|
Save As
|
^O
|
Ctrl + O
|
Find and Replace
|
^\
|
Ctrl + \
|
Save
|
^S
|
Ctrl + S
|
Undo
|
M-U
|
Alt + U
|
Redo
|
M-E
|
Alt + E
|