Exam4Training

Which of the following statements is correct regarding the command foo 1> bar?

Which of the following statements is correct regarding the command foo 1> bar?
A . The stdout from the command foo is appended to the file bar.
B . The stdout from the command foo overwrites the file bar.
C . The command foo receives its stdin from the file bar.
D . The command foo receives its stdin from the stdout of the command bar.
E . The stderr from the command foo is saved to the file bar.

Answer: B

Exit mobile version