Below is my simple if command which throws command not found but any it prints else part value...
-bash-3.00$ if ["$a"="10"]; then echo "hello"; else echo "hi"; fi;
output:
-bash: [10=10]: command not found
hi
Can any one please let me know what is the problem ?