1.

To copy (yank) lines in vi editor, we use ______ command.(a) dd(b) x(c) p(d) yyThis question was addressed to me in an international level competition.I want to ask this question from Editing Text in Vi Editor in division The Vi Editor of Unix

Answer»

The correct CHOICE is (d) yy

Easiest explanation: To copy lines in VI editor, we can use ‘yy’ command. It works similarly as ‘DD’ command. For example, to yank 5 lines from current cursor we can use the command ‘5yy’.



Discussion

No Comment Found

Related InterviewSolutions