Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?

Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?

Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?

A.
myapp 0>S1 | cat > filel.log

B.
tee myapp file1.log

C.
myapp | cat > filel.log

D.
cat < myapp | cat > file1.log

E.
myapp | tee file1.log



Leave a Reply 0

Your email address will not be published. Required fields are marked *