title: Bash shell Decimal to Binary base 2 conversion
body: <p>I'm looking for an easy way in Bash to convert a decimal number into a binary number.  I have variables that need to be converted:</p>
  
  <pre><code>$ip1 $ip2 $ip3 $ip4
  </code></pre>
  
  <p>Is there a simple method to do this without looking at every individual number?</p>
  
  <p>I would prefer not to have to write a lot of code.</p>