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 LFCA Topic 1 Question 31 Discussion

Actual exam question for Linux Foundation's LFCA exam
Question #: 31
Topic #: 1
[All LFCA Questions]

When using vi or vim to edit a file, how do you exit without saving?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Steffanie
4 days ago
But :q! is the command to quit without saving in vi or vim
upvoted 0 times
...
Nikita
5 days ago
B) ZZ seems like it might work, but I'm pretty sure that's for saving and exiting, not just exiting without saving. I'm going with A) :q!.
upvoted 0 times
...
Jamal
7 days ago
I disagree, I believe the correct answer is B) ZZ
upvoted 0 times
...
Daniel
9 days ago
The :q! command is definitely the way to exit without saving in vi or vim. I always use that when I accidentally make changes I don't want to keep.
upvoted 0 times
...
Steffanie
17 days ago
I think the answer is A) :q!
upvoted 0 times
...

Save Cancel