![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with expect script | somedude | Shell Programming and Scripting | 4 | 06-04-2009 12:39 PM |
| Using expect script in a shell script or vice versa | nua7 | Shell Programming and Scripting | 0 | 07-18-2008 07:16 AM |
| Need Help with EXPECT script | markus2008 | UNIX for Advanced & Expert Users | 5 | 03-12-2008 08:49 PM |
| help with 'expect' script? | maeve | Shell Programming and Scripting | 0 | 06-02-2004 06:18 PM |
| Expect Script HELP | zuinc | Shell Programming and Scripting | 2 | 04-30-2002 09:42 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
no output from expect script
#!/opt/app/bin/expect -f
expect <<EOF spawn ssh -l gateadm eurexmiss1 expect "Password: " send "password\r" expect "hostname% " send "/opt/gate/transferdir/reports00/report\r" I trying to login to host and then change directory to /opt/gate/transferdir/reports00/report,but do not end with output prompt so I can then do "ls -ltr" on xterm. Can some please help me to achieve above. Thanks in advance Last edited by sam786; 12-09-2008 at 04:27 AM.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|