QuestionQ15Verified/GNU and Unix CommandsCopy linkReport a problemAsk AstroTutorSave questionWhich of the following sequences in the vi editor save the open document and exit the editor?Choose twoACtrl XXBCtrl :WCEsc zzDEsc :wqEEsc ZZShow AnswerAnswerExplanationIn vi, :wq writes the current file and quits the editor. The uppercase normal-mode command ZZ also writes any changes and exits.Show comments9Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion