# Shell script to find given number is even or odd

Linux shell program/script to find whether a given number is odd or even

echo "Enter a number : "
rem=$(($n % 2 ))
if [ $rem -eq 0 ] then echo "$n is even number"
fi