Pages

Thursday, November 6, 2014

Get HTTP status code with curl AND print response on new line

$ curl -s -o /dev/null -w "%{http_code}\n" localhost

commandlinefu.com


by David Winterbottom (codeinthehole.com)






from All commands http://ift.tt/1vQMFGY

No comments:

Post a Comment