Linux Hint published a tutorial showing you how to edit files in Nano and Vim.
How to Edit File in Linux
Two most common editors that you can use to edit a file in Linux are Nano and Vim editors. Read this article to know more about these two editors.
How to Edit File in Linux