Search Results

Search: Posts Made By: fozay
1,929
Posted By fozay
yeah, i have tried that. it works also. ...
yeah, i have tried that. it works also.

---------- Post updated at 02:07 AM ---------- Previous update was at 12:55 AM ----------

but there is a problem with spawn. whether the previous command...
1,929
Posted By fozay
Thanks a lot can i do the opposite. I mean can i...
Thanks a lot can i do the opposite. I mean can i first execute expect script then call ksh script. Actually i could not find a way that execute ksh script or another program in expect script.
...
3,651
Posted By fozay
Thanks but ı did ctrl+D. it terminates ssh...
Thanks but ı did ctrl+D. it terminates ssh connection. not script.
4,841
Posted By fozay
how to terminate ssh connection without terminating script
Hi all, I connect with SSH connection to remote machine in the script and ı want to logout at half of the script then continue to script. If ı write exit in the script it terminates script not SSH...
3,651
Posted By fozay
How can i terminating expect script without terminating SSH connection.
Hi all , i know i ask a lot of question but these are really hard to solve and important question. I send two scripts:

expect.sh:
#!/usr/local/bin/expect
spawn ssh root@172.30.64.163

expect...
1,929
Posted By fozay
How to use two different libraries?
Hello,

I need to use two different libraries like /usr/local/bin/expect and /usr/bin/ksh at the same script. Is it possible?
13,038
Posted By fozay
"son" is available on the dest. machine. I dont...
"son" is available on the dest. machine. I dont get an error because the duty of send is writing what you write inside the " ". So it is printing ./son on the screen but it dont execute it.
13,038
Posted By fozay
I want at expect script to execute another...
I want at expect script to execute another program for example:

#!/usr/local/bin/expect

spawn ssh root@172.30.64.163

expect "login:"
send "root\n"
expect "password:"
send "root\n"

send...
13,038
Posted By fozay
How to execute a program at expect script
what i need is that after passwordless enter another program should execute. I can succeed passwordless login but ı could not execute (./son) program. pls help me
55,443
Posted By fozay
It works thanks you very much. Thanks to all of...
It works thanks you very much. Thanks to all of you to reply me....
55,443
Posted By fozay
I did what you said but when ı execute the script...
I did what you said but when ı execute the script i obtain these:

./ctrl[4]: ^M: not found
./ctrl[4]: ^D: not found

thanks
55,443
Posted By fozay
Firstly thanks a lot to reply my question. I will...
Firstly thanks a lot to reply my question. I will search expect but before that ı want to try your suggestion but the thing i did not understand how can i write the command on vi editor for ctrl+D or...
55,443
Posted By fozay
How to issue ctrl+D and enter key
My problem is that i have to connect Linux server. I can connect it with SSH but because of the software of the Linux server, i need to press enter and after ctrl+D. Therefore, I need to write a...
Showing results 1 to 13 of 13

 
All times are GMT -4. The time now is 04:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy