edit a file from command line linux code example
Example 1: linux edit file
sudo nano filename.ext
Example 2: edit files from terminal linux
nano FileName.Extension
// nano MyWork.txt
// nano MyScript.py
sudo nano filename.ext
nano FileName.Extension
// nano MyWork.txt
// nano MyScript.py