LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   query reg path (https://www.linuxquestions.org/questions/linux-newbie-8/query-reg-path-64201/)

dogma 06-07-2003 10:32 AM

query reg path
 
Hi,

I have a linux cluster, assume one of the nodes is node1
when i type
ssh -x node1 -n hboot,
i get the error
bash:hboot: command not found

But when i type ssh -x node1 (enter)
and then hboot, it works.....

So my conclusion is , the '-n ' determines that the
shell is /bin/bash....and when it enters bash, the
original path is destroyed and hence it does not find
hboot. So how do I initialize a new path when it enters
bash?

plz help :Pengy:

unSpawn 06-08-2003 09:09 AM

How about just calling it with the full path?


All times are GMT -5. The time now is 02:02 AM.