As the tittle states, I just want the line to test if the variable is greater than 10 but less than 30 but it returns an error of "too many arguments"
if [ -f myClass ] && grep 'John Smith' myclass > /dev/null
then cat myclass
elif [ -f grades ]
then
grep "s100" grades
elif
[ $ca82 -gt 10 -a $ca82 -lt 30 ]
then
echo "success"
else
echo "test 2"
fi