QuestionQ15

VerifiedGNU and Unix Commands

Which of the following sequences in the vi editor save the open document and exit the editor?

Choose two
Explanation

In vi, :wq writes the current file and quits the editor. The uppercase normal-mode command ZZ also writes any changes and exits.

Community Discussion

No comments yet. Be the first to start the discussion!