nerdexam
HP

HP0-A01 · Question #145

Which variable holds the result status of an executed command?

The correct answer is C. $? See the full explanation below for the reasoning.

Question

Which variable holds the result status of an executed command?

Options

  • A$!
  • B$#
  • C$?
  • D$error

How the community answered

(26 responses)
  • A
    4% (1)
  • B
    8% (2)
  • C
    73% (19)
  • D
    15% (4)

Community Discussion

No community discussion yet for this question.

Full HP0-A01 Practice