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

Actual exam question for Linux Foundation's LFCS exam
Question #: 74
Topic #: 2
[All LFCS Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Josephine
4 months ago
Wait, can you really use ctrl :w!? That sounds weird.
upvoted 0 times
...
Tammi
4 months ago
I always use D, it works every time!
upvoted 0 times
...
Glory
4 months ago
I thought it was just A.
upvoted 0 times
...
Tammara
4 months ago
Definitely A, but I’m not sure about D.
upvoted 0 times
...
Teddy
5 months ago
A and D are correct!
upvoted 0 times
...
Reuben
5 months 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!
upvoted 0 times
...
Bo
5 months 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.
upvoted 0 times
...
Gail
5 months 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.
upvoted 0 times
...
Artie
5 months ago
I think option A, "esc ZZ," is definitely one of the correct answers. It feels familiar from practice.
upvoted 0 times
...
Ahmed
5 months 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.
upvoted 0 times
...
Sharen
5 months 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.
upvoted 0 times
...
Lonna
5 months 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.
upvoted 0 times
...
Virgie
5 months 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.
upvoted 0 times
...
Rosina
6 months 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.
upvoted 0 times
...
Isabella
6 months ago
This question seems pretty straightforward. I'm feeling confident I can apply the concepts of customer profitability analysis to select the right answer.
upvoted 0 times
...
Hubert
6 months 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.
upvoted 0 times
...
Lai
10 months ago
B and D are the correct answers. 'ctrl :w!' saves the file, and 'esc :wq!' saves and exits. Easy peasy!
upvoted 0 times
Elina
9 months ago
Yeah, but once you get the hang of it, it's pretty straightforward.
upvoted 0 times
...
Glen
9 months ago
No problem! It can be tricky to remember all the different sequences.
upvoted 0 times
...
Vilma
9 months ago
I always forget the vi editor commands, thanks for the reminder!
upvoted 0 times
...
...
Bobbie
10 months ago
Haha, 'ctrl XX'? That's like asking if I can 'ctrl ALT DEL' my way out of the vi editor. Not happening!
upvoted 0 times
Sherrell
9 months ago
User 3: C) esc zz
upvoted 0 times
...
Daren
9 months ago
User 2: B) ctrl :w!
upvoted 0 times
...
Mohammad
9 months ago
User 1: A) esc ZZ
upvoted 0 times
...
...
Pearlie
11 months 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.
upvoted 0 times
Monte
9 months ago
User 4: Yeah, it's all about muscle memory. Keep practicing!
upvoted 0 times
...
Alaine
9 months ago
User 3: I always get confused too. Practice makes perfect!
upvoted 0 times
...
France
9 months ago
User 2: Oh, that makes sense. Thanks!
upvoted 0 times
...
Bev
11 months ago
User 1: Just remember, 'ZZ' saves and exits, 'zz' just exits.
upvoted 0 times
...
...
Alesia
11 months ago
I always use D) esc :wq! to save and exit
upvoted 0 times
...
Ricki
11 months ago
I'm not sure about A), but I agree with D)
upvoted 0 times
...
Jess
11 months ago
I think it's A) esc ZZ and D) esc :wq!
upvoted 0 times
...
Joesph
11 months ago
I'm not sure, but I think it's B) ctrl :w! and D) esc :wq!
upvoted 0 times
...
Ranee
11 months ago
I agree with you, those are the correct sequences to save and exit in vi editor.
upvoted 0 times
...
Carey
11 months 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.
upvoted 0 times
Zena
10 months ago
D) esc :wq!
upvoted 0 times
...
Armando
10 months ago
A) esc ZZ
upvoted 0 times
...
...
Novella
11 months ago
I think it's A) esc ZZ and D) esc :wq!
upvoted 0 times
...

Save Cancel