centos edit file in terminal code example Example: edit files from terminal linux nano FileName.Extension // nano MyWork.txt // nano MyScript.py