Basic commands for the VI editor
When you need to edit files on an ESXi host directly or on a Linux-host, such as the vCenter appliance, then it is a useful skill to be able to use the VI-editor. In this article I describe the absolute basics you need to know.
The easiest way to open a file with the VI-editor is to start the program with the filename of the file to edit as a parameter. Such as this:
vi /etc/udev/rules.d/70-persistent-net-rules