?
Solved

unix shell script language

Posted on 2000-03-14
5
Medium Priority
?
247 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 2616874
rsh
0
 
LVL 1

Accepted Solution

by:
jacquesc030600 earned 400 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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

770 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