🎴 Flashcard Mode

Unix/Linux Shell Scripting and System Administration

Card1 / 20
Mastered0
Review0
QuestionClick to flip

Which key sequence delete the previous word in vi editor?

AnswerClick to flip back
A
db
💡 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.

Change Mode