Which Vim command will save the current file without exiting?
Suggested Answer: D
Get Premium SCA_SLES15 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
The command to save a file in Vim is:w.
To save the file without exiting the editor, switch back to normal mode by pressingEsc, type:wand hitEnter.
https://linuxize.com/post/how-to-save-file-in-vim-quit-editor/
12 comments · newest first
CA
Casie
11 months ago
'w' is correct, but don't forget about 'w!' for forced saves!
CO
Corazon
11 months ago
I thought it was 'wq'... guess I was wrong!
SH
Shawn
12 months ago
Wait, is 'w' really the only command for that?
KA
Katie
12 months ago
Totally agree, 'w' is the way to go!
MA
Mable
12 months ago
It's definitely 'w' for saving without exiting!
SH
Sharan
1 year ago
I'm pretty confident that 'w' is the correct answer here for saving the file.
GE
Georgeanna
1 year ago
I feel like 'q!' is for quitting without saving, but I can't recall the exact save command.
AR
Arleen
1 year ago
I think the command to save without exiting is just 'w', but I'm not completely sure.
TO
Tomas
1 year ago
I remember practicing something similar, and I think 'w!' is for saving with force, not just saving.
AL
Aleisha
1 year ago
Okay, I've got this. The customs official is likely trying to check for any unauthorized or illegal data on the computer. I'll choose the option that best reflects that scenario.
AL
Alecia
1 year ago
I'm pretty sure the answer is MITRE, since they are the organization that manages the CVE list.
LI
Lindsey
1 year ago
I'm a little confused by the wording of the question. I'll need to re-read it a few times to make sure I understand what they're asking.