Skip to content

Instantly share code, notes, and snippets.

@0xRoch
Created May 11, 2011 16:19
Show Gist options
  • Save 0xRoch/966793 to your computer and use it in GitHub Desktop.
Save 0xRoch/966793 to your computer and use it in GitHub Desktop.
Return a HTTP Response code
wget --delete-after site.com 2>&1|egrep "HTTP|Length|saved" | head -1 | sed s/"HTTP request sent, awaiting response... "//
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment