1.

When multiple filenames are used with vi, we can switch to next file using ___ command.(a) new(b) :n(c) :rew(d) :prevThis question was addressed to me during an interview.This intriguing question originated from Handling Multiple Files and Buffers topic in section Advanced Vi of Unix

Answer»

Right option is (c) :rew

To EXPLAIN I would say: When VI editor is used with multiple filenames, it loads the first file. We can switch to next file USING :n COMMAND.



Discussion

No Comment Found

Related InterviewSolutions