Guest User

Untitled

a guest
Mar 17th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. hosts="$(
  4. sqlite3 backup.db \
  5. 'select ip from hosts' \
  6. )"
  7.  
  8. for host in $hosts; do
  9. echo $host
  10. done
Add Comment
Please, Sign In to add comment