🎴 Flashcard Mode

JavaScript, AJAX, and Unix Commands Quiz

Card1 / 20
Mastered0
Review0
QuestionClick to flip

Purpose of the command ZZ in VI Editor?

AnswerClick to flip back
A
save and Exit.
💡 Explanation:

In vi editor, ZZ saves the file and exits. This is equivalent to :wq command. Option A is incorrect - ZZ exits regardless of changes. Option B describes :q! (forced quit without saving). Option D describes forced write operations like :w!, not ZZ.

Change Mode