Let’s say you have a huge (1k+) list of 301s that you need to test in a CSV called redirects.csv that’s formatted like this: original_url,new_url let’s grab that first column (with the orginal urls), and create a txt file with them awk -F"," '{print $1}' redirects.csv > urls-to-test.txt now let’s test ‘em with curl and dump out the response url and the response code to a new csv xargs -n1 -P 10 curl -o /dev/null –silent –head –write-out '%{url_effective},%{redirect_url},%{http_code}\n' < urls-to-test.