Which of the following commands will take the standard error of the
ls
command and put it into the /tmp/output.txt file:
- ls 2> /tmp/output.txt
- ls | /tmp/output.txt
- ls 2 | /tmp/output
- ls > /tmp/output.txt
Please login or Register to submit your answer