Below is the bash script
the value of b returned by the script is 0 or 1.
b=`tail -l /apps_data_01/mc_migs/inbound/logs/fp.syslog | awk c=$7} {print $c}
if ((!"$b" eq "0"));then
fi
if (($b==0));then
fi
Error:
((: ! eq 0: syntax error in expression (error token is "0")
((: ==0: syntax error: operand expected (error token is "==0")