Skip to content

Instantly share code, notes, and snippets.

@sokil
Created October 5, 2016 10:13
Show Gist options
  • Save sokil/fd13c88f78d5849303e7f08ccc1aa004 to your computer and use it in GitHub Desktop.
Save sokil/fd13c88f78d5849303e7f08ccc1aa004 to your computer and use it in GitHub Desktop.
#!/bin/bash
cat domains.csv | xargs -I{} bash -c 's=$(GET -ds "https://{}"); if [[ $s != "200 OK" ]]; then echo {}; fi'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment