CompTIA
LX0-101 · Question #445
You want to the command foo to take its input from the file foobar and send its output to the program bar. Which of the following command lines will do this?
The correct answer is A. foo < foobar | bar. See the full explanation below for the reasoning.
Question
You want to the command foo to take its input from the file foobar and send its output to the program bar. Which of the following command lines will do this?
Options
- Afoo < foobar | bar
- Bfoo < foobar > bar
- Cfoo | foobar > bar
- Dfoo | bar < foobar
- Efoo > bar < foobar
How the community answered
(58 responses)- A81% (47)
- B5% (3)
- C9% (5)
- D2% (1)
- E3% (2)
Community Discussion
No community discussion yet for this question.