Skip to content

Instantly share code, notes, and snippets.

@saml
Last active September 4, 2015 01:44
Show Gist options
  • Select an option

  • Save saml/7465b98966820bcab55d to your computer and use it in GitHub Desktop.

Select an option

Save saml/7465b98966820bcab55d to your computer and use it in GitHub Desktop.
#!/bin/bash
echo -e "status\t size\t time(secs)"
for x in "$@"
do
curl -so /dev/null -w "%{http_code}\t%{size_download}\t%{time_total} $x\n" "$x" &
done
wait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment