nerdexam
Linux_FoundationLinux_Foundation

LFCS · Question #787

LFCS Question #787: Real Exam Question with Answer & Explanation

Sign in or unlock LFCS to reveal the answer and full explanation for question #787. The question stem and answer options stay visible for context.

Submitted by brentm· Apr 18, 2026Essential Commands

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.

Unlock LFCS to see the answer

You've previewed enough free LFCS questions. Unlock LFCS for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Shell redirection#Pipes#Standard I/O#Command line basics
Full LFCS PracticeBrowse All LFCS Questions