nerdexam
LPI

101-400 · Question #267

In the vi editor, which of the following commands will delete the current line at the cursor and the 16 lines following it (17 lines total)?

The correct answer is B. 17dd. See the full explanation below for the reasoning.

Question

In the vi editor, which of the following commands will delete the current line at the cursor and the 16 lines following it (17 lines total)?

Options

  • A17d
  • B17dd
  • C17x
  • Dd17d
  • E16d

How the community answered

(16 responses)
  • A
    6% (1)
  • B
    81% (13)
  • C
    6% (1)
  • D
    6% (1)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice