-->

multiple if condition in shell script

 #!/bin/bash

echo "Type 1 for stage"

echo "Type 2 for prod"

echo ""

read -p "Type your value: " Env

echo $Env

if [ $Env -eq 1 ];

then

        echo "Stage"

elif [ $Env -eq 2 ];

then

        echo "Prod"

else

        echo "Invalid Value"

fi