nerdexam
LPI

101-500 · 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. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

GNU and Unix Commands

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

(39 responses)
  • A
    3% (1)
  • B
    90% (35)
  • C
    3% (1)
  • D
    5% (2)

Explanation

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

Topics

#vi editor#delete command#count modifier#command syntax

Community Discussion

No community discussion yet for this question.

Full 101-500 Practice