1.

___ command allows us to undo a number of changes that have been made to a single line before moving away from that line.(a) u(b) U(c) dd(d) yyI have been asked this question during an online exam.Query is from Editing Text in Vi Editor topic in section The Vi Editor of Unix

Answer»

The correct option is (b) U

Best explanation: When a number of changes have to be made to a SINGLE line, VI allows us to discard all changes before you move away from the line. If the cursor has been MOVED to another line before INVOKING ‘U’, this command will not WORK.



Discussion

No Comment Found

Related InterviewSolutions