On Thursday 03 February 2005 06:02 am, Jay Moore wrote: > > > #! /bin/sh > > > > > > (sleep 3; > > > echo "password"; > > > sleep 3; > > > echo "ls -la"; > > > sleep 3; > > > ) | telnet -l user 192.168.0.2
did you try: #! /bin/sh while [ 1 ] do (sleep 3; echo "password"; sleep 3; echo "ls -la"; sleep 3; ) | telnet -l user 192.168.0.2 done This is what I alluded to in a previous post... -- i386 FreeBSD 4.11-STABLE _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"