Linux / UNIX Tech Support Forum
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 ...
|
|||||||
| Shell scripting You can discuss the shell scripting, request shell scripts and scripting techniques |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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
__________________
Vivek Gite Linux Evangelist |
![]() |
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 | 29-01-2007 09:56 AM |
| A problem accessing forums but not sure where to post | Beresford | The Hangout | 2 | 21-07-2006 05:19 AM |
| print data to txt | rock | Shell scripting | 1 | 10-03-2006 02:01 AM |
| Script to extract a specific row of data | ricc | Shell scripting | 1 | 15-11-2005 02:29 PM |
| script to rewrite data. | kavi | Shell scripting | 3 | 18-09-2005 12:13 AM |