I want to do something like this:
if [ $1 % 4 == 0 ]; then ...
But this does not work.
What do I need to do instead?
a=4 if [ $(( $a % 4 )) -eq 0 ]; then echo "I'm here" fi