Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 1999 13:49:22 -0500 (EST)
From:      Alfred Perlstein <bright@rush.net>
To:        Justin <root@warp-9.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: help please :)
Message-ID:  <Pine.BSF.3.96.990425134735.2095c-100000@cygnus.rush.net>
In-Reply-To: <199904251023.UAA14906@warp-9.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 25 Apr 1999, Justin wrote:

> hey... can someone please help me..
> i'm trying to make some sort of shell script..
> and i was wondering how i can do this....
> i need a script to telnet to localhost 6667
> then send the telnet command "pass aaa"
> then "server woteva.com"
> so i need it to do the equivelent of me typing
> telnet localhost 6667
> pass aaa
> server woteva.com
> can anyone please give me some methods of how this is done..
> thanks heaps :)
> justin
> 
> 

(echo "pass aaa\nserver woteva.com" ; sleep 3) | telnet localhost 6667

-Alfred



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990425134735.2095c-100000>