change from .cfg to .txt in linux code example
Example 1: command to edit in terminal linux
type nano followed by the file name
Example 2: edit files from terminal linux
nano FileName.Extension
// nano MyWork.txt
// nano MyScript.py
type nano followed by the file name
nano FileName.Extension
// nano MyWork.txt
// nano MyScript.py