Tecadmin published a quick tutorial about saving a file in Vi/Vim.
How to Save A File In Vi/Vim & Exit
Vi is a command-line text editor for the Unix/Linux based systems. Vim (Vi IMproved) is feature rich successor of the Vi text editor with multiple enhancement and user friendly. Let’s go through the first step to learn Vim to save and close file.
How to Save A File In Vi/Vim & Exit