case $choice in

        [Y] | [Y][Ee][Ss] )
                echo "Agreed"
                ;;

        [N] | [N][O|o] )
                echo "Not agreed";
                exit 1
                ;;
        *) echo "Invalid input"
            ;;
esac

Which of the following options are incorrect with respect to the above code?

If choice is YEs, then it will display Agreed

If choice is nO, then it will display Invalid input

If choice is y, then it will display Agreed

If choice is N, the it will display Not agreed

Verified Answer
Correct Option - c

To get all Infosys Certified Unix Associate Exam questions Join Group https://bit.ly/infy_premium_group

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in