[RndTbl] Shell programming question
John Lange
john.lange at open-it.ca
Mon Apr 4 09:59:30 CDT 2005
On Sat, 2005-04-02 at 20:31, Bill Reid wrote:
> An example connecting to the "daytime" port:
>
> $ cat </dev/tcp/time.nist.gov/13
> 53463 05-04-03 02:27:51 51 0 0 269.6 UTC(NIST) *
That is a new one! I hadn't noticed it before.
Any mention of how to use it as a two way communication?
What I have in mind is:
echo "GET /" > /dev/tcp/www.server.com/80
cat < /dev/tcp/www.server.com/80 | grep somephrase
--
John Lange
OpenIT ltd. www.open-it.ca
Web Development & Hosting
Voice Over IP
(204) 885 0872
More information about the Roundtable
mailing list