Google News
logo
Unix - Quiz(MCQ)
Which command is used for saving and quitting the vi editor simultaneously?
A)
:f
B)
:q
C)
:w
D)
‘:x’

Correct Answer :   ‘:x’


Explanation : ‘:x’ command saves our content and quits the editor simultaneously. This command is invoked in ex-mode.

Advertisement