adplus-dvertising
frame-decoration

Question

To save the editing performed on a file, we have to switch to ______ mode.

a.

command

b.

input

c.

ex

d.

insert

Posted under Vi Editor UNIX

Answer: (c).ex

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. To save the editing performed on a file, we have to switch to ______ mode.

Similar Questions

Discover Related MCQs

Q. Pressing ‘:’ in command mode invokes which mode of vi editor?

Q. To save a file and return to shell prompt, which one of the following command will be used in ex-mode?

Q. To save a file and remain in vi editor, which one of the following command will be used?

Q. After pressing ‘:w’, we can normally resume our editing work.

Q. We can specify the filename with ‘:w’ command.

Q. Which command is used for saving and quitting the editor simultaneously?

Q. Which of the following command is a substitute for ‘:x’ command?

Q. Which one of the following is the best way for saving and quitting the editor?

Q. Which command is used to abort the editing and quit the editing mode?

Q. Quit (:q) command doesn’t work if the buffer is unsaved.

Q. Which of the following command will be used if we want to abort editing and quit the editor even if the buffer has been changed and not saved?

Q. In ex-mode, current line is represented by ___

Q. In ex-mode, last line is represented by ___

Q. ‘:w’ command can be used to write selected lines.

Q. Which of the following command will be used to write the 4th line to file named file002?

Q. Which of the following is not a valid command?

Q. How can we escape to the UNIX shell without quitting vi editor?

Q. To return back to the editor from shell prompt we use _____ command.

Q. vi editor stores most of its information in a hidden swap file.

Q. To recover from a crash, we can use ____ command.