Which command in the vi editor allows you to save the current file without exiting the editor?

Choose the correct answer

Explanation

Option A (x) deletes a character, B (q!) quits without saving, C (:w) writes the file to disk while staying in the editor, and D (:q) exits the editor. Therefore, :w is the correct command to save without leaving vi.

Which command in the vi editor allows you to save th… — Basic of linux unix | PakQuizHub