LPI Exam Questions

Which command will print the exit value of the previous…

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

A.
echo $?

B.
echo $#

C.
echo $exit

D.
echo $status

E.
echo $