Ok I know this has been posted a lot by bash newcomers but still, this is the program a teacher gave me, and it's not working properly.
#! /bin/bash
echo "month"
read month
case $month in
january)
echo "31" ;;
february)
echo "30" ;;
*)
echo "INVALID" ;;
esac
exit(0)
The terminal gives me two errors,
./shell2: line 15 : syntax error near unexpected token "0"
./shell2: line 15 : `exit(0)'
Could someone explain me one time for all? Thank you