title: Jupyter notebook - Couldn't find program: 'bash'
body: <p>I'm using a PC with Windows 7 and a Python 3.4 Jupyter notebook from Anaconda3 version 2.3.0.</p>
  
  <p>I'm attempting to run the cell magic <code>bash</code> command from a Jupyter notebook and am having problems that I imagine others will encounter as well. </p>
  
  <p>From what I've seen in tutorials, it should be as simple as...</p>
  
  <pre><code>%%bash
  pwd
  </code></pre>
  
  <p>When I attempt this, I get the error "Couldn't find program: 'bash'". This is true for other <code>bash</code> commands. I have also tried !bash and that has not worked.</p>
  
  <p>A few strange observations that may help:</p>
  
  <p>I am able to run bash commands that don't require parameters as long as they are the first line in the cell. </p>
  
  <pre><code>In: 
  ls    
  
  Out:
  Volume in drive D is DATA
  Volume Serial Number is XXXX-XXXX
  
  Directory of D:\...
  
  05/19/2016  06:25 PM    &lt;DIR&gt;          .
  </code></pre>
  
  <p>However if I put a return above the command, it seems to interpret the cell as python and gives the "name 'ls' is not defined" error. </p>
  
  <p>If I attempt to call the <code>bash</code> line magic command <code>%bash</code> I get the below error:</p>
  
  <pre><code>'ERROR: Line magic function `%bash` not found (But cell magic `%%bash` exists, did you mean that instead?)'.
  </code></pre>
  
  <p>Thanks in advance for any help. </p>