![]() |
|
|
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 |
| telnet scripts | rbn1226 | Shell Programming and Scripting | 3 | 05-28-2009 04:11 PM |
| Calling expect scripts from other expect scripts | seva | Shell Programming and Scripting | 0 | 04-03-2008 02:45 PM |
| TELNET help | seshumohan | Windows & DOS: Issues & Discussions | 1 | 03-08-2007 05:13 AM |
| about ssh and telnet | Kostantinos | UNIX for Advanced & Expert Users | 1 | 02-05-2007 05:01 PM |
| can't telnet | kburrows | UNIX for Advanced & Expert Users | 2 | 09-04-2001 05:08 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
telnet and run scripts
Hello folks,
I've got this script which connects to different boxes and executes a certain script in those locations. The following is the line from where i am trying to do this: (sleep 1; echo $USERID ; sleep 1; echo $PASSWD ; sleep 1 ; echo y ; sleep 1 ; echo "\r" ; sleep 1 ; echo "cd $FILEPATH" ; sleep 1 ; sleep 1 ; echo "./MessageCount.sh $BOXNAME $PATHNAME $FILENAME |&" ; sleep 80)| telnet $SERVER Do i actually need to give the 80 seconds sleep time since it is running in the background? The other (real) problem that i am facing is that the connection to the boxes are getting closed even before the scripts have finished running. Thanks a lot. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|