nerdexam
Linux_FoundationLinux_Foundation

LFCS · Question #839

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

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

Submitted by skyler.x· Apr 18, 2026Essential Commands

Question

What does the following command do? cat '$TEST'

Options

  • ADisplays a bash syntax error message.
  • BDisplays the contents of the file named $TEST if it exists.
  • CWaits for the user to enter text and then echos the text back.
  • DDisplays the contents of the file named inside the back quotes.
  • EDisplays the contents of the file named by the environment variable TEST.

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 Quoting#Variable Expansion#cat command#Bash Fundamentals
Full LFCS PracticeBrowse All LFCS Questions