how to save file in nano linux and exit code example Example: save file in nano Ctrl-o # Then press Enter