CompTIA Exam Questions

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

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

A.
echo $?

B.
echo $status

C.
echo $#

D.
echo $&

E.
echo $exit