command to edit file in linux code example
Example 1: linux edit file
sudo nano filename.ext
Example 2: edit a file linux
vi filename.extension
//press i to insert into file
//press ESC to enter menu
//Type :wq to save data
Example 3: edit files from terminal linux
nano FileName.Extension
// nano MyWork.txt
// nano MyScript.py