Which of the following commands will take the standard output of the ls and put it into the /tmp/output.txt file:

Which of the following commands will take the standard output of the ls and put it into the /tmp/output.txt file:Category: Introduction to Linux IWhich of the following commands will take the standard output of the ls 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 output of the ls and put it into the /tmp/output.txt file:

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

About the author