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
πŸ’¬ Discuss
βœ… Correct Answer: (B) no output is displayed

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
233
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Rakesh Kumar
Publisher
πŸ“ˆ
84%
Success Rate