nano is a simple text editor in the style of the Alpine Composer most commonly used as an alternative for Vi Editor.
To exit the nano command you need to first press Control + X keys, you will be displayed with a question at the bottom of the screen,
Save modified buffer (ANSWERING "No" WILL DESTROY CHANGES)?
YES
NO
If you want to same and exit the changes to the file, press key Y, else press N to exit without saving.

- How to Display content of a file in Terminal Screen?
- How to Install CVS Version Control on Linux/Ubuntu
- How to install and Configure sar sysstat tools in Ubuntu Linux
- ls command to list only directories
- [Ubuntu] Search a package and versions using apt command
- zsh hello world example
- Linux Remove or Delete Files and Directories using Terminal Commands
- How to tar.gz a directory or folder Command
- Calculate days between dates using dateutils ddiff command
- How to ls command to output one entry per line [macOS/Linux/Bash]
- 3 Commands to stop Nginx Server
- Create and write file in single Linux/macOS command
- SCP Copy all files from directory to Local Folder
- How to go to the End of File in Nano Editor
- How to remove/delete a directory in Linux/macOs
- How to Copy Entire Directory to another Directory in Linux
- Execute .bin and .run file Ubuntu Linux
- The Date Command and its usage [Linux - Unix - macOS]
- Fix - ssh-copy-id no identities found error
- How to check uptime of Linux/Unix/macOS system/server using console command?
- How to Select All text in vim/vi editor using Keyboard
- Linux: Create a New User and Password and Login Example
- Command to display epoch time Terminal
- How to install curl on Alpine Linux
- How to exit from nano command
- How to know docker Engine details - Docker
- [fix] zsh: command not found: git - Git
- How to add Newline to text in Android TextView - Android
- Fix - ssh-copy-id no identities found error - Linux
- Mac OS X Error: Could not create the Java Virtual Machine - Mac-OS-X
- Enable Versioning on SharePoint Online Site Task List - SharePoint
- Formatting Double in Java [Examples] - Java
- Compare two text files in Notepad++ - NotepadPlusPlus