LPI
101-500 · Question #137
101-500 Question #137: Real Exam Question with Answer & Explanation
The correct answer is D. The command foobar receives its stdin from the stdout of foo.. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Shells and Shell Scripting
Question
In the command foo < bar | foobar, which ONE 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.
Explanation
You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Topics
#pipes#input/output redirection#stdin/stdout#shell operators
Community Discussion
No community discussion yet for this question.