[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A quickie on telnet



Mike Patterson <mike@col.hp.com> writes:

> 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

telnet assumes it's connected to a terminal.  Try one of the utilities
designed with this in mind: netcat or socket.

Also, the socket support in Tcl or Perl is probably easier for
something quick.

-- 
    Carey Evans  <*>  http://home.clear.net.nz/pages/c.evans/  gc

kernel: Warning: possible SYN flooding. Sending cookies. 
kernel: validated probe(100007f, 100007f, 11557, 5010, -1645409555) 


--
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: