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 Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram