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

LPI Exam 702-100 Topic 3 Question 34 Discussion

Actual exam question for LPI's 702-100 exam
Question #: 34
Topic #: 3
[All 702-100 Questions]

While using vi as superuser. the attempt to save a file while quitting the editor leads to an error indicating that the file is read-only. How can the file permissions be overridden to save the edits to the file and quit the editor?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Alline
2 days ago
A) : fw! sounds like a cool command, but I doubt it's the right answer here. E) : wq! is the way to go!
upvoted 0 times
...
Ashlee
4 days ago
D) : wq looks good, but I'm not sure if it will work for overriding the read-only file permissions. I'll go with E) : wq! to be safe.
upvoted 0 times
...
Filiberto
14 days ago
I'm not sure, but I think E) : wq! might also work to save the edits and quit the editor forcefully.
upvoted 0 times
...
Galen
15 days ago
I think the answer is E) : wq! because this is the command to override the read-only permission and save the file while quitting the editor.
upvoted 0 times
Cammy
3 days ago
User 1: I think the answer is E) : wq!
upvoted 0 times
...
...
Linn
21 days ago
I agree with Miles, D) : wq seems like the correct option to override file permissions.
upvoted 0 times
...
Miles
22 days ago
I think the answer is D) : wq because it saves the edits and quits the editor.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77