vi: the ultimate guide

How to use the console text editor vi

Whenever you end up with vi open in your terminal, type :q and press enter. Then, type nano <path-of-the-file-you-want-to-edit> and press enter.

If anything goes wrong and you can't quit vi, just power cycle your machine.

In the next lesson, we will learn how to fix git problems by cloning the repository in a fresh new place and copying manually the local changes.

#linux #gnu #vi #vim #nano #humour

There are no comments yet.