I am evaluating following following expression. And it always evaluates to true even if CMD is START or STARTED. Am I doing something wrong?
if [ "$CMD"="START" ]; then
echo fi
fi
Try spaces
if [ "$CMD" = "START" ] ; then
echo fi
fi
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With