sudo nano filename.ext
vi filename.extension
//press i to insert into file
//press ESC to enter menu
//Type :wq to save data
nano FileName.Extension
// nano MyWork.txt
// nano MyScript.py
1. nano filepath.extension
2. vim filepath.extesion
2.a press i //for edit mode
2.b Enter Esc
2.c :wq // write this at the end of file to save the edited part
2.d :q! // without save and quite