Use IF/ELSE statements in unix

Unix is very tricky, even a space also matter in unix syntax.

Here is the syntax for if else loop in unix aix

if [ -z "$a" ]
then
echo "davinder"
else
scp "snehi"
fi