title: How to enable bash commands in Windows CMD?
body: <p>I've two Windows machines and both have <em>bash</em> installed. However, they differ in the way <em>bash</em> starts up:</p>
  
  <p><strong><em>Machine 1:</em></strong></p>
  
  <p>Typing "bash" starts the bash. Then I can type commands like <code>ls</code>.</p>
  
  <p><strong><em>Machine 2:</em></strong></p>
  
  <p>It seems like it starts <em>bash</em> and directly runs <code>ls</code> in it, by only typing "ls". After that it switches back to CMD automatically, like this:</p>
  
  <p><a href="https://i.stack.imgur.com/zWxCw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zWxCw.png" alt="like this"></a></p>
  
  <p>Does anyone know which setting enables the behavior of <em>machine 2</em>? Everything looks the same for me. It's a nice feature and I want to enable it on <em>machine 1</em> as well.</p>