okay i thought for sure that would've fixed everything (last question i asked) but I'm getting a new error
Enter an even or odd number:
0 //just wanted to make sure the expr works, which it does
line 6: if[ 0 -eq 0 ]: command not found
line 7: syntax error near unexpected token `then'
line 7: `then'
sigh need help still =(
edit: correct code attatched now
echo 'Enter an even or odd number:'
rem=`expr $num % 2`
if[ $rem -eq 0 ]