![]() |
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 |
| urgent help needed in telnet issue | sam99 | Shell Programming and Scripting | 2 | 12-16-2008 11:36 AM |
| Unix Arithmatic operation issue , datatype issue | thambi | Shell Programming and Scripting | 23 | 02-19-2008 07:19 AM |
| Reg : telnet password issue | sam99 | Shell Programming and Scripting | 3 | 11-28-2007 04:57 AM |
| Telnet issue E5500/V480 | kjbaumann | SUN Solaris | 5 | 01-24-2007 08:16 PM |
| telnet refused / reverse DNS issue? | rm -r * | UNIX for Dummies Questions & Answers | 4 | 10-08-2004 02:00 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
telnet issue
Hi ,
i am a beginner in AIX. please find my doubt I am calling the below script named test_1 by " sh test_1 | telnet " cmd1="var1=100" echo open $Infahost sleep 1 echo $Infaftplogin sleep 1 echo $Infaftppasswd sleep 1 echo $cmd1 sleep 5 echo $var1 sleep 5 echo exit why am i not getting 100 when i am echoing "var1" (echo $var1) please correct me if i am wrong... thanks in advance sam |
|
||||
|
1.only a specific user has got access to use slogin to the file server
so we are loging in as that user using telnet... 2.sleep is to provide time delay for copying...( as i understood) if i provide a small sleep value all files are not copied.. |
|
||||
|
You should not need the sleep.
Personally I would use "ssh" rather than "telnet". Quote:
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|