Vidyalelo
Computer Science · Q637

Linux

Engineering and GATE · Computer Science · question 637

Q637

The following commands gives the output like this #cat file1 file2 #cat: file1: No such file or directory 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
Answer
C.
Cat: 1>2: No such file or directory
D.
hello

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board