Use the Vim editor
vim filename.type
Command mode
:1- Go to the first line
:$- Go to the last line
:number- Go to the line that you want to go
Insert mode
i- Enter the insert mode, you can type the text whatever you want
Esc- back to command mode from insert mode
:w- Make the text you type into the document
:q- Quit the vim editor