Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation LFCS Exam - Topic 2 Question 74 Discussion

Posted by Nenita on May 01, 2024 at 04:06 PM

Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)

Suggested Answer: B

Get Premium LFCS Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
38 comments · newest first
JO
Josephine 11 months ago
Wait, can you really use ctrl :w!? That sounds weird.
TA
Tammi 11 months ago
I always use D, it works every time!
GL
Glory 12 months ago
I thought it was just A.
TA
Tammara 12 months ago
Definitely A, but I’m not sure about D.
TE
Teddy 1 year ago
A and D are correct!
RE
Reuben 1 year ago
I thought "esc zz" was a thing too, but I can't remember if it actually saves and exits. I need to double-check that one!
BO
Bo 1 year ago
I feel like option D, "esc :wq!," is also correct. We practiced that in class, but I might mix it up with another command.
GA
Gail 1 year ago
I'm not so sure about option B. I remember something about using "ctrl" but can't recall if it's for saving or something else.
AR
Artie 1 year ago
I think option A, "esc ZZ," is definitely one of the correct answers. It feels familiar from practice.
AH
Ahmed 1 year ago
No problem, I've got this. The esc ZZ and ctrl :w! commands are the way to go. Those are the standard vi editor shortcuts for saving and exiting. I use them all the time, so I know they're the correct answers here.
SH
Sharen 1 year ago
Wait, I'm a little confused. I thought the ctrl :w! command was for saving, but I'm not sure if that also exits the editor. And what's the deal with the ctrl XX option? I don't recognize that one.
LO
Lonna 1 year ago
Okay, I think I know this one. The esc ZZ and esc :wq! commands should both save the document and exit the editor. I'm pretty confident those are the right answers.
VI
Virgie 1 year ago
Hmm, let me think about this. I know the vi editor has a lot of commands, but I'm not totally sure which ones save and exit. I'll have to try to remember the ones I've learned.
RO
Rosina 1 year ago
Hmm, let me double-check my vi editor knowledge. I think the esc ZZ and esc :wq! are the right choices, but I'm not 100% sure. I'll make sure to test those out before submitting my answers.
IS
Isabella 1 year ago
This question seems pretty straightforward. I'm feeling confident I can apply the concepts of customer profitability analysis to select the right answer.
HU
Hubert 1 year ago
I've got this! The answer is C. Call-back MEPs are not part of the WS-I guidelines, and they're also not included in the WSDL 2.0 specification. Feeling confident about this one.
LA
Lai 1 year ago
B and D are the correct answers. 'ctrl :w!' saves the file, and 'esc :wq!' saves and exits. Easy peasy!
EL
Elina 1 year ago
↳ replying to Lai
Yeah, but once you get the hang of it, it's pretty straightforward.
GL
Glen 1 year ago
↳ replying to Lai
No problem! It can be tricky to remember all the different sequences.
VI
Vilma 1 year ago
↳ replying to Lai
I always forget the vi editor commands, thanks for the reminder!
BO
Bobbie 1 year ago
Haha, 'ctrl XX'? That's like asking if I can 'ctrl ALT DEL' my way out of the vi editor. Not happening!
SH
Sherrell 1 year ago
↳ replying to Bobbie
User 3: C) esc zz
DA
Daren 1 year ago
↳ replying to Bobbie
User 2: B) ctrl :w!
MO
Mohammad 1 year ago
↳ replying to Bobbie
User 1: A) esc ZZ
PE
Pearlie 2 years ago
I always mix up the 'zz' and 'ZZ' commands. It's like trying to remember whether it's 'ctrl Z' or 'ctrl Y' to undo. I need to practice this more.
MO
Monte 1 year ago
↳ replying to Pearlie
User 4: Yeah, it's all about muscle memory. Keep practicing!
AL
Alaine 1 year ago
↳ replying to Pearlie
User 3: I always get confused too. Practice makes perfect!
FR
France 1 year ago
↳ replying to Pearlie
User 2: Oh, that makes sense. Thanks!
BE
Bev 2 years ago
↳ replying to Pearlie
User 1: Just remember, 'ZZ' saves and exits, 'zz' just exits.
AL
Alesia 2 years ago
I always use D) esc :wq! to save and exit
RI
Ricki 2 years ago
I'm not sure about A), but I agree with D)
JE
Jess 2 years ago
I think it's A) esc ZZ and D) esc :wq!
JO
Joesph 2 years ago
I'm not sure, but I think it's B) ctrl :w! and D) esc :wq!
RA
Ranee 2 years ago
I agree with you, those are the correct sequences to save and exit in vi editor.
CA
Carey 2 years ago
A and D are the correct answers. 'esc ZZ' saves the document and exits, and 'esc :wq!' also saves and exits the vi editor.
ZE
Zena 1 year ago
↳ replying to Carey
D) esc :wq!
AR
Armando 1 year ago
↳ replying to Carey
A) esc ZZ
NO
Novella 2 years ago
I think it's A) esc ZZ and D) esc :wq!
0/2000 characters

Save Cancel