Does it have anything to do with 2.6 vs 2.4 kernels?
Works on FC2 as well.
Hmm. Try it at home for my Sarge+2.6 server.
Ed
Robert Citek wrote:
On Jun 8, 2005, at 3:27 PM, Ed Howland wrote:
Cool. But where is /dev/tcp? I get no such file or dir, followed by
bad file descriptor/
Sorry. I just realized I didn't answer your question. The script
works on all the previously mentioned Linux versions. However, I
just noticed that /dev/tcp is not on FC3, although it is on the
others. Despite that, the script works. Go figure.
Here's a variation with a couple of ls'es inserted:
( set -x
exec 5<>/dev/tcp/www.google.com/80
ls -la /dev/tcp*
ls -la /dev/fd/
echo -e "GET / HTTP/1.0\n" >&5
cat <&5 | head -20
)
Regards,
- Robert
http://www.cwelug.org/downloads
Help others get OpenSource software. Distribute FLOSS
for Windows, Linux, *BSD, and MacOS X with BitTorrent
_______________________________________________
CWE-LUG mailing list
[email protected]
http://www.cwelug.org/
http://www.cwelug.org/archives/
http://www.cwelug.org/mailinglist/
--
Ed Howland
WDT Solutions, LLC.
[EMAIL PROTECTED]
(314) 962-0766
_______________________________________________
CWE-LUG mailing list
[email protected]
http://www.cwelug.org/
http://www.cwelug.org/archives/
http://www.cwelug.org/mailinglist/