edit a file through terminal code example
Example 1: edit files from terminal linux
nano FileName.Extension
// nano MyWork.txt
// nano MyScript.py
Example 2: nano edit a file
# Linux select a file using Nano
sudo nano edit "File name"
nano FileName.Extension
// nano MyWork.txt
// nano MyScript.py
# Linux select a file using Nano
sudo nano edit "File name"