![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| To run scripts | rollthecoin | AIX | 1 | 04-04-2008 11:16 AM |
| Calling expect scripts from other expect scripts | seva | Shell Programming and Scripting | 0 | 04-03-2008 02:45 PM |
| FTP Scripts | raghav1982 | Shell Programming and Scripting | 27 | 12-07-2007 06:38 AM |
| private network to private network gateway | norsk hedensk | IP Networking | 2 | 12-05-2002 01:25 PM |
| using su in scripts | uchachra | UNIX for Dummies Questions & Answers | 3 | 03-11-2002 01:24 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
scripts across a network
Hi, I'm trying to create a script that runs a series of commands on a number of machines accross a network and sends the output back to the machine from which the script is run. I looked into using remsh to do something like this... Code:
for machine in $network do remsh $machine func_1 > func_1.out remsh $machine func_2 > func_2.out done Unfortunately, I don't think this will work because remsh requires that the functions be defined in the environment on the remote machine. I'm sure network admins must come accross this type of problem all the time. Anyone know a good solution? [EDIT] Sorry, I forgot to mention, I'm on an HP-UX [/EDIT] |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|