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

Posted by: Pdfprep Category: LFCS Tags: , ,

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

Leave a Reply

Your email address will not be published.