title: how to use * in sh string comparison
body: <p>How to correctly use * in sh? I tried googling it but couldn't find anything. The following echo ture. why is that?</p>
  
  <pre><code>file="test test"
  
  if [ "$file" != "te"* ]
  
  then
  
     echo true
  
  else
  
     echo false
  
  fi
  </code></pre>