Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

executing commands on one host through another

Status
Not open for further replies.

bos

Technical User
Oct 1, 2002
50
US
Im trying to write a korn script which will check the version of a program on 5 different hosts. If the version is not correct then the program will auto-update the hosts with the correct version.

The main thing I need to know is if there is a way to run a command to a host from another host. That would allow me to execute the installation and de-installation commands.

Please let me know how this might be done.

Thanks in advance.
 
rsh $host command

make sure you have .rhosts files set up on each client
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top