SyntaxFix
Write A Post
Hire A Developer
Questions
I had this same problem, do this
if [ 'xyz' = 'abc' ]; then echo "match" fi
Notice the whitespace. It is important that you use a whitespace in this case after and before the = sign.
=
Check out "Other Comparison Operators".