ExamGecko
Question list
Search
Search

Question 66 - 101-500 discussion

Report
Export

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
Answers
A.
cat < myapp | cat > file1.log
B.
myapp 0>&1 | cat > file1.log
Answers
B.
myapp 0>&1 | cat > file1.log
C.
myapp | cat > file1.log
Answers
C.
myapp | cat > file1.log
D.
myapp | tee file1.log
Answers
D.
myapp | tee file1.log
E.
tee myapp file1.log
Answers
E.
tee myapp file1.log
Suggested answer: D
asked 18/09/2024
Salvatore Buscio
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first