wiki'd

by JoKeru

Get Web Server response code with wget

[cc lang='bash']
\$ wget --bind-address=1.2.3.4 --spider --server-response http://www.google.com 2>&1 | awk '/\^ HTTP/{print \$2}'
[/cc]

Comments