Multiple choice technology operating systems

Which key sequence delete the previous word in vi editor?

  1. dW

  2. dG

  3. db

  4. dd

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

In vi editor, 'db' deletes the previous word (word before the cursor). The 'd' command is for delete, and 'b' stands for 'back' or previous word. 'dW' would delete a WORD (space-separated), 'dd' deletes entire line, and 'dG' deletes to end of file.