Correct vi commands

Question:
Identify the correct statement from the below commands.

  1. :q! - Quit vi and do not save changes
  2. All are correct
  3. :wq - Save and quit/exit vi
  4. :w - Save and continue editing
Answer:
B - is the correct answer