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 Exam LFCS 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:

Lai
24 days ago
B and D are the correct answers. 'ctrl :w!' saves the file, and 'esc :wq!' saves and exits. Easy peasy!
upvoted 0 times
...
Bobbie
26 days 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
...
Pearlie
1 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
Bev
28 days ago
User 1: Just remember, 'ZZ' saves and exits, 'zz' just exits.
upvoted 0 times
...
...
Alesia
1 months ago
I always use D) esc :wq! to save and exit
upvoted 0 times
...
Ricki
1 months ago
I'm not sure about A), but I agree with D)
upvoted 0 times
...
Jess
2 months ago
I think it's A) esc ZZ and D) esc :wq!
upvoted 0 times
...
Joesph
2 months ago
I'm not sure, but I think it's B) ctrl :w! and D) esc :wq!
upvoted 0 times
...
Ranee
2 months ago
I agree with you, those are the correct sequences to save and exit in vi editor.
upvoted 0 times
...
Carey
2 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
15 days ago
D) esc :wq!
upvoted 0 times
...
Armando
21 days ago
A) esc ZZ
upvoted 0 times
...
...
Novella
2 months ago
I think it's A) esc ZZ and D) esc :wq!
upvoted 0 times
...

Save Cancel