Software-Engineering
August 24, 2024UNIX-Operating-System
August 24, 2024UNIX-Operating-System
|
Question 2
|
The unix command: $vi file1 file2
|
Edits file1 and stores the contents of file1 in file2
|
|
|
Both files i.e. file1 and file2 can be edited using ‘ex’ command to travel between the files
|
|
|
Both files can be edited using ‘mv’ command to move between the files
|
|
|
Edits file1 first, saves it and then edits file2
|
Question 2 Explanation:
$vi file1 file2 → Both files i.e. file1 and file2 can be edited using ‘ex’ command to travel between the files.
Correct Answer: B
Question 2 Explanation:
$vi file1 file2 → Both files i.e. file1 and file2 can be edited using ‘ex’ command to travel between the files.
