title: Why does "if 0;" not work in shell scripting?
body: <p>I wrote the following shell script, just to see if I understand the syntax to use if statements:</p>
  
  <pre><code>if 0; then
          echo yes
  fi
  </code></pre>
  
  <p>This doesn't work. It yields the error</p>
  
  <pre><code>./iffin: line 1: 0: command not found
  </code></pre>
  
  <p>what am I doing wrong?</p>