[ILUG] Bash & network programming...

Reilly, John John.Reilly at xelector.com
Tue Jan 15 15:24:07 GMT 2002


Probably better/easier to use netcat than cat.
http://freshmeat.net/projects/netcat/

jr


>  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