1.

What is the default mode of vi editor?(a) Command mode(b) Input mode(c) Ex mode(d) Insert modeI had been asked this question in class test.The doubt is from Vi Basics and Modes in chapter The Vi Editor of Unix

Answer»

The correct answer is (a) Command mode

To elaborate: The default mode of vi EDITOR is command mode, where every key which is pressed is interpreted as a command to RUN on the text. To perform operations on text like DELETING, COPYING, the FIRST step you’ll have to follow is to be in the command mode so that you can run commands according to your suitability.



Discussion

No Comment Found

Related InterviewSolutions