nerdexam
LPI

101-500 · Question #495

Which of the following vi commands deletes two lines, the current and the following line?

The correct answer is C. 2dd. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

GNU and Unix Commands

Question

Which of the following vi commands deletes two lines, the current and the following line?

Options

  • Ad2
  • B2d
  • C2dd
  • Ddd2
  • Ede12

How the community answered

(25 responses)
  • B
    4% (1)
  • C
    92% (23)
  • E
    4% (1)

Explanation

You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

Topics

#vi editor#text editing#deletion command#line operations

Community Discussion

No community discussion yet for this question.

Full 101-500 Practice