Which of the following commands will take the standard error of the echo command cmd1 and put it into the /tmp/output.txt file:

Which of the following commands will take the standard error of the echo command cmd1 and put it into the /tmp/output.txt file:Category: Introduction to Linux IWhich of the following commands will take the standard error of the echo command cmd1 and put it into the /tmp/output.txt file:
Linux Questions Staff asked 1 year ago

Which of the following commands will take the standard error of the echo command cmd1 and put it into the /tmp/output.txt file:

  • echo | /tmp/output.txt
  • echo > /tmp/output.txt
  • echo 2> /tmp/output.txt
  • echo 2 | /tmp/output

About the author