1.

c operator is used for changing the text.(a) True(b) FalseI have been asked this question in final exam.This is a very interesting question from Operator-Command Combinations in chapter Advanced Vi of Unix

Answer»

Correct answer is (a) True

Easy explanation: For CHANGING text, c operator is used. This operator is also combined with a COMMAND to PERFORM the replacement. If dw deletes a word, cw changes it. This operator WORKS in input mode. For example, to change the text from the PRESENT cursor location up to the end of line, use

c$ or C



Discussion

No Comment Found

Related InterviewSolutions