title: Update each row of PostgreSQL table using shell script
body: <p>I have a shell script which has a list of ips. </p>
  
  <p>Under the for loop of that script, every time 15 ips are picked and changed the status to 'removed'.</p>
  
  <p>Can some expert shed some light on how should I update those list of ips under a shell script's for loop?
  Meaning what should I do from inside the for loop of shell script to make those continuous changes to PostgreSQL database?</p>