GNU nano
Description
GNU Nano is a simple, user-friendly terminal text editor for Unix-like systems. Unlike Vim, it does not require learning modal editing — all actions are available through keyboard shortcuts displayed at the bottom of the screen. The GNU Nano router app installs nano 7.2 and adds the nano command to the router's command line when connected via SSH or a terminal emulator such as PuTTY.
Installation
Like every other Router App, GNU Nano is installed via the Router Apps section in the router's configuration page. Once the installation is complete, the Router App appears in the list of installed apps. The Router App itself does not have a GUI — it only adds the ability to use nano from the command line when connected to the router.
How to Use
Opening a File
Connect to the router via SSH:
ssh username@router_address
# Password:Open an existing file or create a new one:
nano /path/to/fileThe editor opens the file and displays a two-line shortcut bar at the bottom of the screen. The ^ symbol denotes the Ctrl key and M- denotes the Alt key.
Essential Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Ctrl+O | Save file |
Ctrl+X | Exit (prompts to save if there are unsaved changes) |
Ctrl+W | Search |
Ctrl+\ | Search and replace |
Ctrl+K | Cut the current line |
Ctrl+U | Paste the cut line |
Ctrl+G | Display help |
Ctrl+C | Show cursor position (line and column) |
Alt+U | Undo |
Alt+E | Redo |
Saving and Exiting
To save the file, press Ctrl+O. Nano will confirm the file name — press Enter to confirm. To exit, press Ctrl+X. If there are unsaved changes, nano will ask whether to save them before exiting.
GUI
GNU Nano can also be used from the router's web interface with the Web Terminal Router App. Once installed, open the Web Terminal app to access a browser-based command line and type:
nano /path/to/fileFurther Reading
This page covers only the basics needed to get started on the router. For a complete reference of all features and options, see the official documentation: