1.

Which command is used for moving the cursor to the line extreme?(a) |, 0(b) &(c) %(d) LThe question was asked in an interview.My question is based upon Navigation in Vi Editor topic in section The Vi Editor of Unix

Answer» RIGHT choice is (a) |, 0

Explanation: For moving the cursor to the beginning or end of the line we can USE line extreme navigation COMMANDS (0,| and $). ‘|’ or ‘0’ moves the cursor to the first CHARACTER of a line.


Discussion

No Comment Found

Related InterviewSolutions