Deal of The Day! Hurry Up, Grab the Special Discount - Save 25%
- Ends In
00:00:00
Coupon code:
SAVE25
X
Welcome to Pass4Success
Login
|
Sign up
-
Free
Preparation Discussions
Mail Us
support@pass4success.com
Location
US
MENU
Home
Popular vendors
Salesforce
Microsoft
Nutanix
Amazon
Google
CompTIA
SAP
VMware
Fortinet
PeopleCert
Eccouncil
HP
Palo Alto Networks
Adobe
ServiceNow
Dell EMC
CheckPoint
Linux Foundation
Discount Deals
New
About
Contact
Login
Sign up
Home
Discussions
Linux Foundation Discussions
Exam LFCA Topic 1 Question 31 Discussion
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?
A
:q!
B
ZZ
C
:wq!
D
:exit
Show Suggested Answer
Hide Answer
Suggested Answer:
C
by
Aliza
at
Sep 15, 2024, 02:24 PM
Limited Time Offer
25%
Off
Get Premium LFCA Questions as Interactive Web-Based Practice Test or PDF
Contribute your Thoughts:
Submit
Cancel
Geraldine
23 days ago
Wait, you can exit vi without saving? Whoa, mind blown! :q! is the one, I'm remembering that for the next time I accidentally launch vi and panic.
upvoted
0
times
Miesha
1 days ago
Yeah, :q! is the way to go if you want to exit without saving.
upvoted
0
times
...
...
Ronny
26 days ago
C) :wq! would save the file before exiting, which is the opposite of what I want. :q! is the way to go here.
upvoted
0
times
Chu
13 days ago
A) :q!
upvoted
0
times
...
...
Crista
1 months ago
D) :exit sounds like it could work, but I'm not sure if that's a valid command in vi/vim. Better stick with the classic :q! just to be safe.
upvoted
0
times
Noah
21 days ago
A) :q!
upvoted
0
times
...
...
Steffanie
2 months ago
But :q! is the command to quit without saving in vi or vim
upvoted
0
times
...
Nikita
2 months 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
Zachary
13 days ago
B) Yeah, you're right. ZZ is for saving and exiting. :q! is the one for just exiting.
upvoted
0
times
...
Chauncey
20 days ago
A) :q! is the correct command to exit without saving in vi or vim.
upvoted
0
times
...
...
Jamal
2 months ago
I disagree, I believe the correct answer is B) ZZ
upvoted
0
times
...
Daniel
2 months 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
Pamella
1 days ago
No problem, happy to help!
upvoted
0
times
...
Leila
2 days ago
I always forget the command, thanks for the reminder.
upvoted
0
times
...
William
15 days ago
Yeah, it's a lifesaver when you make a mistake.
upvoted
0
times
...
Tomoko
22 days ago
I agree, :q! is the way to go.
upvoted
0
times
...
...
Steffanie
2 months ago
I think the answer is A) :q!
upvoted
0
times
...
Log in to Pass4Success
×
Sign in:
Forgot my password
Log in
Report Comment
×
Is the comment made by
USERNAME
spam or abusive?
Commenting
×
In order to participate in the comments you need to be logged-in.
You can
sign-up
or
login
Save
Cancel
Geraldine
23 days agoMiesha
1 days agoRonny
26 days agoChu
13 days agoCrista
1 months agoNoah
21 days agoSteffanie
2 months agoNikita
2 months agoZachary
13 days agoChauncey
20 days agoJamal
2 months agoDaniel
2 months agoPamella
1 days agoLeila
2 days agoWilliam
15 days agoTomoko
22 days agoSteffanie
2 months ago