Multiple choice technology operating systems

esc + : + q!

  1. To save and quit vi editor

  2. To continue with search

  3. To copy the line where cursor is located

  4. To quit without saving

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Escape + : + q! forces vi to quit without saving any changes. The exclamation mark overrides vi's safety check - use carefully as you'll lose unsaved work.