exam questions

Exam 101-500 All Questions

View all questions & answers for the 101-500 exam

Exam 101-500 topic 1 question 45 discussion

Actual exam question from LPI's 101-500
Question #: 45
Topic #: 1
[All 101-500 Questions]

Which command must be entered before exiting vi to save the current file as filea.txt?

  • A. %s filea.txt
  • B. %w filea.txt
  • C. :save filea.txt
  • D. :w filea.txt
  • E. :s filea.txt
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Ninymo
3 months, 3 weeks ago
Answer: D
upvoted 1 times
...
XVO668
1 year, 2 months ago
:w stands for write
upvoted 1 times
...
MartiFC
2 years, 7 months ago
the answer is correct!
upvoted 1 times
...
CuriousLinuxCat
3 years, 3 months ago
Correct. https://www.cyberciti.biz/faq/how-to-save-existing-file-to-a-new-file-save-as-in-vi-vim/
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago