Tagged Questions
-1
votes
1answer
59 views
run expect script from other shell [closed]
my target is to create the /var/tmp/add_user.bash script by /var/tmp/create_script_add_user.bash script
and run the expect script ( add_user.bash ) from create_script_add_user.bash script
the ...
0
votes
1answer
202 views
expect script + how to perform case in expect script
the following expect script target is to print the hostname name from linux/solaris machine
and according to hostname results expect script will run linux.ksh or solaris.ksh script
...
0
votes
1answer
134 views
expect script + write “if” in expect script
please advice what's wrong with my exepct syntax ( I run expect in ksh script on Solaris 10 machine )
I want to verify if OS is linux
so if it true the expect check if prompt is "#" or ">"
and ...
0
votes
2answers
2k views
expect + how to install expect on solaris
subject - install expect on solaris in order to write expect scripts
details from my machine:
uname -a
SunOS 5.10 Generic_139555-08 sun4v sparc SUNW,Netra-T5220
I installed Solaris machine ( ...
3
votes
2answers
782 views
expect + how to identify if expect break because time out?
The target of the following simple expect script is to get the hostname name on the remote machine
Sometimes expect script fail to perform ssh to $IP_ADDRESS ( because remote machine not active , etc ...
1
vote
2answers
976 views
expect script + expect miss the send string + delay issue
I write the active.ksh script (based on expect) in order to login automatically to some Solaris machine and execute the hostname command (login to virtual IP in order to verify which hostname is the ...
1
vote
1answer
190 views
ssh + multiple ssh connection failed
I have 47 Linux client machines and one Solaris server machine (all Linux client machines are red-hat 5.1)
all clients perform ssh connection to the server in order to verify if ...