nerdexam
LPI

101-400 · Question #157

While editing a file in vi, the file changes due to another process. Without exiting vi, how can the file be reopened for editing with the new content?

The correct answer is D. :e. See the full explanation below for the reasoning.

Question

While editing a file in vi, the file changes due to another process. Without exiting vi, how can the file be reopened for editing with the new content?

Options

  • A:r
  • B:n
  • C:w
  • D:e

How the community answered

(43 responses)
  • A
    14% (6)
  • B
    9% (4)
  • C
    2% (1)
  • D
    74% (32)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice