Bash if

if [ $value -eq 1 ]
then
  echo "Good job"
elif [ $value -gt 1 ]
then
  echo "Excellent job"
else
  echo "Nothing happened"
fi

 

Advertisements