Google News
logo
Linux - Interview Questions
What are the different modes when using the 'vi' editor?
Visual Editor or VI editor is a default text editor that comes with almost every Linux operating system.

There are three different types of modes utilized in the VI editor, as mentioned below :

* Regular Mode or Command Mode : For the VI editor, it's the default mode. It's used for typing commands that perform specific or particular vi functions. To input this mode from other modes, one must click [esc]. It lets us see the content.

* Edit Mode or Insertion Mode : It permits us to type text in a file or perform text editing. To input this mode from other modes, one must click [esc]. It lets us insert or delete content or text.

* Replacement Mode or Ex Mode : It is used to store the files and implementation of the commands. It runs files with distinct parameters. To input this mode, one must click [:]. It lets us overwrite text or content.
Advertisement