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?

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 $&



Leave a Reply 0

Your email address will not be published. Required fields are marked *