QuestionQ13Verified/Essential CommandsCopy linkReport a problemAsk AstroTutorSave questionWhich of the following vi editor command sequences saves the open document and exits the editor?Choose twoAesc ZZBctrl :w!Cesc zzDesc :wq!Ectrl XXShow AnswerAnswerExplanationIn vi, ZZ from Normal mode saves a modified file and exits. The Ex command :wq! writes the file and quits, with ! forcing the write when allowed.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion