What does the case statement do in the script?

View the Exhibit.

What does the case statement do in the script? (Choose two.)

View the Exhibit.

What does the case statement do in the script? (Choose two.)

A.
exits the script if 0 is supplied as the input

B.
executes like a series of if-then-else statements

C.
prints all output of all commands on standard output

D.
executes the last echo statement if 0 is supplied as the input

Explanation:



Leave a Reply 2

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


freddy

freddy

b and c correct
———–
exit 0 means : exits your script and sets the exit status to 0