Skip to content

Instantly share code, notes, and snippets.

View Blake-'s full-sized avatar
🏚️
Working from home

Blake Carver Blake-

🏚️
Working from home
View GitHub Profile
@Blake-
Blake- / gist:319d57679db39618a49decf322415ba4
Created March 16, 2023 15:41
Shell script that returns http code from a list of sites
#!/bin/bash
INPUT=sites.txt
OLDIFS=$IFS
IFS=,
[ ! -f $INPUT ] && { echo "$INPUT file not found"; exit 99; }
while read SITE
do