Q4
What command is used with vi editor to delete a single character?
A.
x
AnswerB.
y
C.
a
D.
z
E.
None of the above
Answer: Option A
Solution
Answer: Option A
Solution:
In the vi editor, the x command is used to delete a single character.When you are in command mode in the vi editor, pressing x will delete the character under the cursor.
This command is useful for making small edits or corrections within a file.
So, in summary, to delete a single character in vi editor, you'd use the x command.