If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > rsh sh: command: not found.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-12-06, 01:26
steadybompipi steadybompipi is offline
Registered User
 
Join Date: Jul 2004
Posts: 18
rsh sh: command: not found.

Hi guys,

I am trying to consolidate all my software installed in all my hpux server.
I decided to use one of my linux boxes to rsh query the command as below:

rsh hostname swlist

but there is a return error of sh: swlist: not found.

the .rhost is set correctly as i am able to "rsh hostname bdf"

Anyone kindly help?
Reply With Quote
  #2 (permalink)  
Old 05-15-06, 10:38
fwellers fwellers is offline
Registered User
 
Join Date: May 2006
Location: Virginia
Posts: 6
Maybe in the environment that rsh is using on the other box, the location of swlist is not in the path.
try rsh hostname which swlist.
See if it says something like "no swlist in path"

also, where is swlist in hpux in /usr/sbin ?
If so try :
rsh hostname /usr/sbin/swlist
Reply With Quote
  #3 (permalink)  
Old 05-15-06, 23:04
steadybompipi steadybompipi is offline
Registered User
 
Join Date: Jul 2004
Posts: 18
Hi Floyd ,

its working. Thanks alot.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On