1.

Which of the following command is a substitute for ‘:x’ command?(a) ‘:x’(b) :wq(c) :q(d) :wI had been asked this question in an internship interview.My query is from Vi-Ex Mode topic in chapter The Vi Editor of Unix

Answer»

The CORRECT answer is (b) :wq

To EXPLAIN I WOULD SAY: We can also use the ‘:wq’ command to save and quit editor but it requires an additional keystroke and it is not recommended for use.



Discussion

No Comment Found

Related InterviewSolutions