Solved

unix shell script language

Posted on 2000-03-14
5
243 Views
Last Modified: 2013-12-23
I have a sever which installed AIX, another machine using no modern cable directly connected to it. If I want to send command from server to machine B and capture the response from machine B, what kind of shell script language can perform such function?

Any hint, website info. will be helpful!

Thank you!

llucy
0
Comment
Question by:llucy88
5 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 2616874
rsh
0
 
LVL 1

Accepted Solution

by:
jacquesc030600 earned 100 total points
ID: 2621653
With UUCP you could perform execute command from server to an other machine whatever direct connect or modem connect.  You could also link thoses two computer on a network and use rlogin and work on the other computer.

0
 

Author Comment

by:llucy88
ID: 2624287
Adjusted points from 66 to 100
0
 

Author Comment

by:llucy88
ID: 2624288
Thanks! If I want to use the shell script to send command from server to client and capture the response from the client, which shell script can be used as this purpose? Any suggestion on books or links for further information?

Thank you very much!!!
0
 

Expert Comment

by:chansek
ID: 2626418
Here are my opinions; but, only applied on HP-UX. It should be almost the same as AIX.

1) To smooth your operation, both machines should have the same ID and password.

2) In HP-UX, the command is:
   remsh machine-name <command> or
   remsh machineB bdf
   NOTE: To apply in AIX, you could type: man -k shell    to check the actual defination of remote shell command.

3) In HP-UX, you need to add the machineB name, login name, and password
into the file name .rhost in order to execute the command remotely in machineB.
   NOTE: If you found the actual remote shell command in AIX through step 2, you should be able to know the actual steps to setup the shell scripts to monitor the machineB with remote shell command.


   
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question