#!/bin/sh x=4 if [ "$x" -eq "4" ] then echo "x is $x" elif [ "$x" -gt "4" ] then echo "x is greater than 4" else echo "x is less than 4" fi