#!/bin/ksh a=10 #No space around the = sign! Try it again with a=20. b=20 if [[ $a -eq $b ]] then echo They are equal. fi