Answer :
To save the file you are working on (Option A) Ctrl + S; and exit the editor while in insert mode, press the ESC key followed by :wq. This key combination tells the vi editor to save the file (w) and quit (q).
To save the file you are working on and exit the editor while in insert mode, you should press the following key combinations: Esc : w q Enter.
How to do this:
- Press the Esc key to exit insert mode and return to command mode.
- Press the : key to enter command-line mode.
- Press the w key to save the file you are working on.
- Press the q key to exit the editor.
- Press the Enter key to execute the command.
By following these key combinations, you will be able to save the file you are working on and exit the editor while in insert mode.
Here's the full task:
Which of the following vi key combinations should you press while in insert mode to save the file you are working on and exit the editor?
- A. Ctrl + S
- B. Ctrl + X
- C. Ctrl + Z
- D. Ctrl + Q
Learn more about key combinations: https://brainly.com/question/14447287
#SPJ11