You work as the Network Administrator for McNeil Inc. The company has a Linux-based network.You are working as a root us
Posted: Fri Aug 26, 2022 10:03 am
You work as the Network Administrator for McNeil Inc. The company has a Linux-based network.You are working as a root user on Red Hat operating system. You are currently running a program named My_program. You are getting some error messages while executing the program. You want to redirect these error messages to a file named file2 rather than being displayed on the screen.Which of the following tools should you use to accomplish the task?
A. My_program >> file2
B. My_program 2> file2
C. My_program 2>> file2
D. My_program > file2
A. My_program >> file2
B. My_program 2> file2
C. My_program 2>> file2
D. My_program > file2