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