title: Bash Script Understanding
body: <p>I'm trying to figure what exactly is the bash code mentioned below trying to do, specially the <code>[-z $M ]</code> part. here M is a variable with a value</p>
  
  <pre><code>if [ -z $M ] ; then
      can not find module directory
      exit 1
  </code></pre>