Question 57Asked in UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)The Unix command : $ vi file1 file2
- AEdits file1 and stores the contents of file1 in file2
- BBoth files i.e. file1 and file2 can be edited using 'ex' command to travel between the files
- CBoth files can be edited using 'mv' command to move between the files
- DEdits file1 first, saves it and then edits file2
Show answerHide answer
Correct answer: (B) Both files i.e. file1 and file2 can be edited using 'ex' command to travel between the files
Explanation
You can edit more than one file at a time with vi. vi file1 file2 vi two (or more) files at the same time.