nerdexam
Linux_FoundationLinux_Foundation

LFCS · Question #726

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

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

Submitted by eva_at· Apr 18, 2026Essential Commands

Question

Which of the following statements is correct regarding the command foo 1> bar?

Options

  • AThe stdout from the command foo is appended to the file bar.
  • BThe stdout from the command foo overwrites the file bar.
  • CThe command foo receives its stdin from the file bar.
  • DThe command foo receives its stdin from the stdout of the command bar.
  • EThe stderr from the command foo is saved to the file bar.

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#Standard output#File redirection#Overwriting files
Full LFCS PracticeBrowse All LFCS Questions