Exam 050-754 Topic 5 Question 42 Discussion

Actual exam question for SUSE's 050-754 exam
Question #: 42
Topic #: 5
Which Vim command will save the current file without exiting?

Suggested Answer: D Vote an answer

Explanation
Save a File in Vim / Vi #The command to save a file in Vim is :w.
To save the file without exiting the editor, switch back to normal mode by pressing Esc, type :w and hit Enter.
https://linuxize.com/post/how-to-save-file-in-vim-quit-editor/

by Jacqueline at Jul 08, 2026, 02:13 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10