Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?
A. cat < myapp | cat > file1.log
B. myapp 0>&1 | cat > file1.log
C. myapp | cat > file1.log
D. myapp | tee file1.log
E. tee myapp file1.log
Which of the following commands will send output from the program myapp to both standard output (stdout) and the file fi
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which of the following commands will send output from the program myapp to both standard output (stdout) and the file fi
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!