One more question:
I want to compare the value of the variable against a string and i am using the below code,but doe's'nt seem to do it...is there anything wrong with it??
Code:
if echo "$PRECHECK" | grep 'FALSE';
then
echo "File Ftped Successfully: " $f
mv $f "FTPED_"$f
fi