adplus-dvertising
frame-decoration

Question

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

a.

True

b.

False

c.

May be

d.

Can't say

Posted under UNIX

Answer: (a).True

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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.

Q. The following command will save the contents of the buffer and overwrites the contents of existing file.
:w! File003

Q. For navigation purposes, the mode should be _____ mode.

Q. Which of the following keys are used to moving the cursor up and down?

Q. Which of the following keys is used to moving cursor leftwards along a line?

Q. Which one of the following keys are used to moving cursor rightwards along a line?

Q. We can prefix the repeat factor with navigation keys (h, j, k and l).

Q. We can perform word navigation in vi editor.

Q. Using ‘b’ command we can _____________

Q. Using ‘e’ command we can _____________

Q. Using ‘w’ command we can _____________