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
You work as the Network Administrator for McNeil Inc. The company has a Linux-based network.You are working as a root us
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
You work as the Network Administrator for McNeil Inc. The company has a Linux-based network.You are working as a root us
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!