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
#cat file1 file2
#cat: file1: No such file or directoryA. cat: file1: No such file or directory hello
B. No output is displayed
C. Cat: 1>2: No such file or directory
D. hello
Answer: Option B
Related Questions on Linux
What command is used to count the total number of lines, words, and characters contained in a file?
A. countw
B. wcount
C. wc
D. count p
E. None of the above
What command is used with vi editor to delete a single character?
A. x
B. y
C. a
D. z
E. None of the above

Join The Discussion