nerdexam
ExamsLX0-104Questions#538
CompTIA

LX0-104 · Question #538

LX0-104 Question #538: Real Exam Question with Answer & Explanation

The correct answer is A: echo $?. See the full explanation below for the reasoning.

Question

Which of the following commands will print the exit value of the previous command to the screen in bash?

Options

  • Aecho $?
  • Becho $#
  • Cecho $exit
  • Decho $status
  • Eecho $&}

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice
Which of the following commands will print the exit value of the... | LX0-104 Q#538 Answer | NerdExam