Hi All,

Here is something very diffrent I have ever faced while working with shell scripts.

I made a script (named SCRIPT) which finds a particular PID (on linux machine 55.8.111.185) for scheduler and Kills that PID and again start the scheduler. The script is working fine but when I am running this script from any other linux machine using rsh 55.8.111.185 SCRIPT from any other machine I am getting a error in starting the scheduler. and the error I am getting is:

line 3: exec: tclsh8.0: not found.

However every thing is working fine while running it from the right machine but if even if I run script from 55.8.111.185 machine using rsh as rsh 55.8.111.185 SCRIPT getting the same error respnse.

I am not able to understand what the cause could be?

Can any please suggest me what should i do to make it working while using rsh from other machine or from same machine.

Thanks,
Yogender