This is a discussion on Script for accessing data .. within the Shell scripting forums, part of the Development/Scripting category; Well i m kinda newbie at this shell scripting stuff .. so spare me if u find me total stupid ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Well i m kinda newbie at this shell scripting stuff .. so spare me if u find me total stupid
As a matter of fact i need a script to access a remote unix server via telnet , for time being assume any ip address , username and password , then on that server script should check the path ( assume correct path is "/home/var/tmp" and if default path is not this .. then go to this path ... then on this very path ... run few commands in given order .. let those be 1) su - ss7 2) cd Isup 3) show tsp For time being i stop here .. assume it done till now .. caz i don think i ll able to digest whole in one step .. i ll proceed with remaining steps after getting through with these many tasks i hope i ll be making sense or whateva hit me back if u think i ll ned to explain more Regards |
| Sponsored Links | ||
|
|
|
||||
|
Telnet is insecure protocol you should use ssh. Examples for ssh are at already covered, please see following ulrs
Ssh login expect script to supply password: http://bash.cyberciti.biz/security/sshlogin.exp.php How to use ssh in Unix or Linux shell script? http://www.cyberciti.biz/faqs/2006/0...inux-shell.php Execute Commands on Multiple Linux or UNIX Servers http://www.cyberciti.biz/nixcraft/vi...e-linux-or.php If you need any further help just reply back and we will be glad to assist you |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ubuntu: Issue accessing any System applications | hightech | Linux software | 4 | 01-29-2007 10:56 AM |
| A problem accessing forums but not sure where to post | Beresford | The Hangout | 2 | 07-21-2006 06:19 AM |
| print data to txt | rock | Shell scripting | 1 | 03-10-2006 03:01 AM |
| Script to extract a specific row of data | ricc | Shell scripting | 1 | 11-15-2005 03:29 PM |
| script to rewrite data. | kavi | Shell scripting | 3 | 09-18-2005 01:13 AM |