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?

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



Leave a Reply 0

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