Multiple choice technology operating systems

esc + dw

  1. To delete all occurances of the letter w

  2. To delete word from cursor position

  3. To delete entire line where cursor is located

  4. To paste the text just deleted or copied at the cursor

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In vi, 'dw' deletes from the cursor position to the end of the word. 'd' is the delete operator, 'w' specifies the word motion object. This is a text object deletion.