Executing terminal commands in Jupyter notebook
<p>I am trying to run the following in Jupyter notebook (with Python 2 if it makes a difference): </p>

<p><code>!head xyz.txt</code></p>

<p>and I get the following error:</p>

<blockquote>
  <p>'head' is not recognized as an internal or external command, operable
  program or batch file.</p>
</blockquote>

<p>Is there anything I need to import to be able to do this?</p>