Q. The following commands gives the output like this #cat file1 file2
#cat: file1: No such file or directory hello
If we execute the command “cat file1 file2 1>2 2>&1” the output would be
-
(A)
cat: file1: no such file or directory hello
-
(B)
no output is displayed
-
(C)
cat: 1>2: no such file or directory
-
(D)
hello
β
Correct Answer: (B)
no output is displayed