Re: A quickie on telnet
> > Very simply, I'm trying to telnet to a site and get some data from a script.
> > In HPUX, I would do this:
> >
> > echo "Alinetobesent" | telnet an.address.com 1234
Try this (just an example):
(echo "group comp.os.linux.misc" ; sleep 5 ) | telnet news.alaska.net nntp
This should work and you can can make the series inside the ()'s more
complicated if you want to do multiple commands.
Adam.
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: