CompTIA
LX0-101 · Question #381
In the command foo < bar | foobar, which of the following statements is correct?
The correct answer is D. The command foobar receives its stdin from the stdout of foo. See the full explanation below for the reasoning.
Question
In the command foo < bar | foobar, which of the following statements is correct?
Options
- AThe stdout from the command foobar is saved to the file foo.
- BThe stdout from the command foo is saved to the file foobar.
- CThe command foobar receives its stdin from the stderr of foo.
- DThe command foobar receives its stdin from the stdout of foo.
- EThe command bar receives its stdin from the contents of the file foobar.
How the community answered
(45 responses)- A2% (1)
- B7% (3)
- C18% (8)
- D71% (32)
- E2% (1)
Community Discussion
No community discussion yet for this question.