On Tue 15 Jan 2002 15:13, John P. Looney wrote:
> echo "GET / HTTP/1.0\n\n"| cat < /dev/tcp/172.24.1.104/80 >
/dev/tcp/172.24.1.104/80
Bob between us and your shell scripts, Kate. There are a couple of
things wrong with the above:
* bizarre and certainly nonportable use of /dev/tcp
* two redirections of standard input to "cat"
* just, like, I mean, like.
Use wget or curl to retrieve http stuff from the CLUI, or if you want
to get down to the tcp level, "netcat" is a great little utility.
Gods.
Colm
--
Colm Buckley : Systems Architect @ NewWorld Commerce
Business: +353 1 4334334 / colm at nwcgroup.com / http://www.nwcgroup.com/
Personal: +353 87 2469146 / colm at tuatha.org / http://www.tuatha.org/~colm/
Despite the cost of living, have you noticed how it remains so popular?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!