title: echo value of 2 raised to the power of {0....5} using bash
body: <p>I am new to bash scripting. Now, the question is self explanatory. I want to print the values 2^0, 2^1, 2^2, 2^3, 2^4, 2^5 using loop in bash. </p>
  
  <p>I tried ..   </p>
  
  <pre><code>for i in {0...5}; do echo 2^$i; done
  </code></pre>
  
  <p>result:</p>
  
  <pre><code>2^{0...5}
  </code></pre>
  
  <p>please suggest a solution</p>