Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Staying in svrmgrl through a script.
Apparently that link has changed. It is now:
ftp://ftp.nist.gov/mel/div826/subject/expect
Richard Chen wrote:
>
> This is what the program "expect" is designed for.
> The following 4-line script will do what you want.
>
> oracle$ cat ./tmp.exp
> #!/usr/bin/expect
> spawn svrmgrl
> expect "SVRMGR> " {send "connect internal\r"}
> interact
>
> Get expect from
> ftp://ftp.cme.nist.gov/pub/expect
Received on Thu Sep 23 1999 - 07:24:41 CDT
![]() |
![]() |