title: String comparison in bash is not working
body: <p>Hi I'm new to bash scripting. Just wrote this simple program but it is throwing error.</p>
  
  <pre><code>#!/bin/bash
  os=`uname -o`
  echo $os
  if ["$os"=="GNU/Linux"] ; then
      echo "Linux"
  else
      echo "Windows"
  fi 
  </code></pre>
  
  <p>Using == or -eq for both cases I'm getting the following error and it is printing the else condn.</p>
  
  <p><strong>./ostype.sh: line 3: [GNU/Linux==GNU/Linux]: No such file or directory</strong></p>
  
  <p><strong>Windows</strong></p>
  
  <p>Bash version : GNU bash, version 3.2.48(1)-release (x86_64-suse-linux-gnu)</p>