1.

Which command is used for deleting a single character?(a) d(b) dd(c) x(d) wThis question was posed to me in my homework.My doubt is from Editing Text in Vi Editor in chapter The Vi Editor of Unix

Answer»

The correct answer is (c) x

The EXPLANATION is: The simplest text deletion is ACHIEVED using ‘x’ command. This command deletes the character under the CURSOR and then the text on the right SHIFTS TOWARDS the left to fill up space.



Discussion

No Comment Found

Related InterviewSolutions