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