Posted on

Linux+ – LX0-102 – Exam 2 Samples – Question 17

Which of the following commands 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 $&}

Correct Answer: A

Leave a Reply

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