Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Aug 1999 11:51:16 +0200
From:      "Morten Seeberg" <morten@seeberg.dk>
To:        "Tiny Non Cats" <pooka@redbrick.dcu.ie>, <questions@freebsd.org>
Subject:   Re: FreeBSD Commandline Makro Function
Message-ID:  <011101bee571$632f4520$a00f010a@SOS>
References:  <000f01bee56b$a3dca3c0$a00f010a@SOS> <37B3E09F.9C1E8752@baker.ie> <19990813104326.B14800@mother.redbrick.dcu.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
> You can also do something along the lines of:
> (echo "username"; sleep 2; echo "password"; sleep 2; \
>  echo "echo Hi there, this is where you'd put the commands | mail
username"; \
>  sleep 2; echo "exit") | telnet hostname

Ahh, why didnīt I think of this :)

At least this works with telnet, now all I have to try, is whether the other
programs need to do this with, accept info on stdin.

Thanx



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?011101bee571$632f4520$a00f010a>