title: Magic function `bash ` not found
body: <p>I have a bunch of simulations that I want to run on a high-performance cluster, on which I should make reservations to get computing time. Since the reservations are bounded by time, I am developing an automation script that I can <code>scp</code> into the cluster and run. This script will then download the relevant simulation files, run them, and upload the results.</p>
  
  <p>Part of this automation script is in <code>bash</code> (<code>cp</code>, <code>scp</code>, etc) and the rest is in python. In order to develop this automation, I am using an IPython notebook.</p>
  
  <p>So far, I've coded all the python automation stuff in my IPython notebook and am trying to write the bash part of it now.</p>
  
  <p>However, it seems that the magic <code>%%bash</code> doesn't work in my IPython notebook. I get the following error when I have this code in my cell:</p>
  
  <hr>
  
  <p><strong>Cell</strong></p>
  
  <pre><code>%%bash
  
  echo hi
  </code></pre>
  
  <hr>
  
  <p><strong>Error</strong></p>
  
  <pre><code>  File "&lt;ipython-input-22-62ec98e35224&gt;", line 3
      echo hi
            ^
  SyntaxError: invalid syntax
  </code></pre>
  
  <hr>
  
  <p>On a whim, I tried this:</p>
  
  <hr>
  
  <p><strong>Cell</strong></p>
  
  <pre><code>%%bash
  
  print "hi"
  </code></pre>
  
  <hr>
  
  <p><strong>Error</strong></p>
  
  <pre><code>hi
  ERROR: Magic function `bash` not found.
  </code></pre>
  
  <hr>
  
  <p>So I tried this with <code>%%system</code>, <code>%%!</code> and <code>%%shell</code>. But none of those work; they all give me the same error.</p>
  
  <p>Why is this happening? How can I fix this?</p>
  
  <p>Metadata:</p>
  
  <ul>
  <li>IPython 0.13.dev</li>
  <li>Python 2.7.1</li>
  <li>Mac OS X Lion</li>
  </ul>