How to use vim in ubuntu from terminal?


Vim is kind of a bit different from the normal text editors

 Step1: Type "vim abc.txt" in terminal to edit abc file.
Step2: Press "i" to edit the file.
Step3: After you have done editing press esc key and then ":wq" to save your changes.