You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

5 lines
184 B

#!/bin/bash
for f in $(awk -F " " '/url:/ {print $2}' ../_data/sites.yml)
do
echo "Response code: "$(curl -o /dev/null -sw "%{response_code}" $f)" "$f| grep -v '200\|301\|302'
done