College

Using the vi editor in Insert Mode, you made a few changes to the /boot/grub/ file. You now need to switch to command mode, save the changes, and quit. Which of the following keystrokes and commands should you use? (Select 2.) (Each answer is a required part of the solution.)

A. Press [Esc] to switch to command mode.
B. Type `:wq` to save changes and quit.
C. Type `:q!` to quit without saving.
D. Press [Ctrl] + [C] to cancel changes.
E. Type `:w` to save changes without quitting.

Answer :

Using the vi editor in Insert Mode, you made a few changes to the /boot/grub/grub.conf file. You now need to switch to command mode, save the changes, and quit. use Type :wq Press the Esc key

What is the keystrokes

To switch to command mode in vi editor, press the Esc key. To save the changes and quit, type the following command: :wq

Therefore, the two keystrokes and commands you should use are:

  • Esc
  • :wq

You can enter the command by typing a colon (:) followed by the command and then pressing the Enter key.

Learn more about keystrokes from

https://brainly.com/question/30430493

#SPJ4