Q. What does the 2>&1 at the end of the following command mean?find / -name fred.txt > names 2>&1

  • (A) Send standard error to a file called &1
  • (B) Append standard error to a file called &1
  • (C) Send standard error to the same place as standard output
  • (D) Send the output of the find command to /dev/null
πŸ’¬ Discuss
βœ… Correct Answer: (C) Send standard error to the same place as standard output

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
121
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Gopal Sharma
Publisher
πŸ“ˆ
90%
Success Rate