title: I have a test env with bash 4 and loops work but the same loops do not run within the production env using bash 3
body: <pre><code>for i in `cat ip_list` ; do
      ping -c 1 $i 2&amp;&gt;1 &gt; /dev/nul &amp;&amp; echo $i good || echo $i bad ;
  done
  </code></pre>
  
  <p>This loop works in bash 4 but not in bash 3... what should I change in the loop for the older RedHat 5 machines running version 3?</p>