Hi everybody,
I am new to scripting, and I have a question here. I need to know if its possible to send strings from the script to another program, like if it were a Macro, for example, for rlogin, if its a way to do a script that loads:
rlogin host.com -luser
than wait for "password:" and transmit my password.
rlogin was an example, I know there are ways to connect without typing passwords, but the issue is that I have to monitor some applications ussing some passwords that requiere my to type in the database name, for example:
audit (enter)
Welcome to Audit, please select your database:
AL--ALABAMA
IL--Illinois
YOUR DATABASE IS:? __ Here I type IL (enter)
then othere questions pop up.
Is it possible, you I will have to stick to the old fashion and type it allways?.
Thank you again,
Carlos Ocon.
I am new to scripting, and I have a question here. I need to know if its possible to send strings from the script to another program, like if it were a Macro, for example, for rlogin, if its a way to do a script that loads:
rlogin host.com -luser
than wait for "password:" and transmit my password.
rlogin was an example, I know there are ways to connect without typing passwords, but the issue is that I have to monitor some applications ussing some passwords that requiere my to type in the database name, for example:
audit (enter)
Welcome to Audit, please select your database:
AL--ALABAMA
IL--Illinois
YOUR DATABASE IS:? __ Here I type IL (enter)
then othere questions pop up.
Is it possible, you I will have to stick to the old fashion and type it allways?.
Thank you again,
Carlos Ocon.