adplus-dvertising
frame-decoration

Question

Where is the exit status of a command stored?

a.

$0

b.

$>

c.

$1

d.

$?

Posted under Shell Programming UNIX

Answer: (d).$?

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Where is the exit status of a command stored?