Linux OS Editors Question:
Download Questions PDF

Which vi editor command copies the current line of the file?
a) yy
b) yw
c) yc
d) none of the mentioned

Linux Editors Interview Question
Linux Editors Interview Question

Answer:

a) yy
Explanation:
The command 'p' puts the copied text after the cursor.

Download Linux Editors Interview Questions And Answers PDF

Previous QuestionNext Question
Which command is used to close the vi editor?
a) q
b) wq
c) both (a) and (b)
d) none of the mentioned
Which option is used by sed to specify that the following string is an instruction or set of instructions?
a) -n
b) -e
c) -f
d) -i