Which of the following commands will direct error messages to the file, error.log? (choose one)

Which of the following commands will direct error messages to the file, error.log? (choose one)Category: Linux EssentialsAuthor "LinuxQuestions"Which of the following commands will direct error messages to the file, error.log? (choose one)
Linux Questions Staff asked 1 year ago

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

About the author