nano save file code example
Example 1: save file in nano
Ctrl-o
# Then press Enter
Example 2: nano edit a file
# Linux select a file using Nano
sudo nano edit "File name"
Ctrl-o
# Then press Enter
# Linux select a file using Nano
sudo nano edit "File name"