Posted on

Linux LX0-103 Exam 1 samples – Question 35

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.

Correct Answer: B
Section: GNU and Unix Commands

Leave a Reply

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