Created
May 11, 2011 16:19
-
-
Save 0xRoch/966793 to your computer and use it in GitHub Desktop.
Return a HTTP Response code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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