LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-07-2003, 11:32 AM   #1
dogma
LQ Newbie
 
Registered: May 2003
Location: Tuscaloosa, AL
Distribution: RedHat Rel 7.2 - 2.4.7-10
Posts: 27

Rep: Reputation: 15
Unhappy 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
 
Old 06-08-2003, 10:09 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
How about just calling it with the full path?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Image Path reference in Linux (Absolute path) javabuddy Linux - General 7 06-05-2006 08:45 AM
Nice surprise Kaffeine plays Reg 1 and Reg 2 disks 1kyle SUSE / openSUSE 1 10-10-2005 05:47 PM
reg: KNOPPIX v3.7 rahul_sarika Debian 4 12-29-2004 08:33 AM
How to Chnage Python's module search path (sys.path)? lramos85 Linux - Software 1 05-02-2004 07:10 PM
reg spam anilchow Linux - Security 1 10-02-2003 07:05 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration