what is vi editor ? explain the various points .
Answers
Answer:
the answer is given in explanation part
Explanation:
Vi is the default text editor that comes with most Linux systems. Visual Editor is a Terminal-based text editor that users need to learn, essentially when more user-friendly text editors are not available on the system. Vi editor creates small size files making it light on your storage
Command Mode: When vi starts up, it is in Command Mode. This mode is where vi interprets any characters we type as commands and thus does not display them in the window.
Last Line Mode(Escape Mode): Line Mode is invoked by typing a colon [:], while vi is in Command Mode. The cursor will jump to the last line of the screen and vi will wait for a command. This mode enables you to perform tasks such as saving files, executing commands.
Insert mode: This mode enables you to insert text into the file. Everything that’s typed in this mode is interpreted as input and finally, it is put in the file. The vi always starts in command mode. To enter text, you must be in insert mode. To come in insert mode you simply type