Which of the following commands will direct error messages to the file, error.log? (choose one)
- ls /root >> error.log
- ls /root 2> error.log
- ls /root $> error.log
- ls /root > error.log
Please login or Register to submit your answer