edit files from terminal linux

Shell
type nano followed by the file namenano FileName.Extension

// nano MyWork.txt
// nano MyScript.py

Source

Also in Shell: