how to edit a text file linux command line 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