[ILUG] Bash & network programming...
McAuley, Tim
T.McAuley at emuse.ie
Tue Jan 15 15:28:39 GMT 2002
how about wget?
i.e.
wget -O - 172.24.1.104
"-O -" will not save the webpage, but print it to stdout instead.
Tim
> -----Original Message-----
> From: ilug-admin at linux.ie [mailto:ilug-admin at linux.ie]On
> Behalf Of John
> P. Looney
> Sent: 15 January 2002 15:14
> To: Irish LUG list
> Subject: [ILUG] Bash & network programming...
>
>
> Any idea how to get a web page down with bash ?
>
> I tried;
>
> echo "GET / HTTP/1.0\n\n"| cat < /dev/tcp/172.24.1.104/80 >
> /dev/tcp/172.24.1.104/80
>
> with no luck. (172.24.1.104 being a webserver).
>
> Kate
>
>
> --
> _______________________________________
> John Looney Chief Scientist
> a n t e f a c t o t: +353 1 8586004
> www.antefacto.com f: +353 1 8586014
>
>
> --
> Irish Linux Users' Group: ilug at linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for
> (un)subscription information.
> List maintainer: listmaster at linux.ie
>
More information about the ILUG
mailing list