Invest half an hour of your life watching these videos. It’s worthy. The vi editor is built-in on any single Unix / Linux operating system distribution I’ve seen in my life.
Through these four basic videos you will learn how to enter vi, switch from the command to the insert mode and viceversa, how to navigate through a file and how to insert and delete text on it.
Thanks to devdaily for this.