QuestionQ52Verified/Linux FundamentalsCopy linkReport a problemAsk AstroTutorSave questionWhen editing a file with vi or vim, how can you exit without saving?A:q!BZZC:wq!D:exitShow AnswerAnswerExplanation:q! quits vi or vim while forcing the editor to discard any unsaved modifications.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion