1.

We can move back to the previous file using ____ command.(a) new(b) :n(c) :rew(d) :prevThis question was addressed to me in class test.The question is from Handling Multiple Files and Buffers topic in chapter Advanced Vi of Unix

Answer»

The correct answer is (c) :rew

For explanation: When VI editor is used with MULTIPLE FILENAMES, it loads the first file. We can switch to NEXT file using :n command. In this manner, we can reach to the last file. At any stage, we can MOVE back to the first file using :rew command.



Discussion

No Comment Found

Related InterviewSolutions