Which of the following vi commands will discard the changes to the file and exit the vi editor?

🎲 Try a Random Question  |  Total Questions in Quiz: 50  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Redhat Linux 9.0 General Test — practice the complete quiz, review flashcards, or try a random question.

Practice this Upwork Skill Test. Freelancers take skill tests on Upwork to show their skills to potential clients and to make themselves more marketable. Upwork suggests you take as many tests as you want -  your skills are shown on your Upwork profile page.


Which of the following vi commands will discard the changes to the file and exit the vi editor?