nerdexam
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)
  • A
    2% (1)
  • B
    7% (3)
  • C
    18% (8)
  • D
    71% (32)
  • E
    2% (1)

Community Discussion

No community discussion yet for this question.

Full LX0-101 Practice