Saving and exiting - Nano Basics Guide
GNU nano is a text editor for Unix-like computing systems or operating environments using a command line interface.
Ctrl + O (Save file in nano)
Ctrl + X (Exit from a modified file in nano)
*To see a list of all nano commands, type
Ctrl+gExample of usage:Open terminal (Ctrl+T) and write... (or right click and 'Open in Terminal')
sudo nano mysqld.cnf