title: bash script to read/ping a list of ip addresses from a text file and then write the results to another file?
body: <p>I have a text file with a lists of IP addresses called address.txt which contains the following</p>
  <pre><code>172.26.26.1   wlan01
  
  172.26.27.65    wlan02
  
  172.26.28.180    wlan03
  </code></pre>
  <p>I need to write a bash script that reads the only IP addresses, ping them and output to a another text file to something like this:</p>
  <blockquote>
  <p>172.26.26.1 IS UP</p>
  <p>172.26.27.65 IS DOWN</p>
  <p>172.26.28.180 IS DOWN</p>
  </blockquote>
  <p>I am fairly new to bash scripting so I am not sure where to start with this. Any help would be much appreciated.</p>