[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: path
- To: solomon(at-nospam)barak-online.net
- Subject: Re: path
- From: sagi <sagi(at-nospam)aresworld.net>
- Date: Thu, 23 Nov 2000 14:53:23 -0500 (EST)
- cc: linux-il(at-nospam)cs.huji.ac.il
- In-Reply-To: <XFMail.20001123211358.solomon@barak-online.net>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On Thu, 23 Nov 2000 solomon@barak-online.net wrote:
> That was the problem. Thanks for your patience.
>
> So now I have two questions:
>
> 1 - Is there a good tutorial or reference where I should have looked for this?
> I spent alot of time looking before I posted the question, but didn't find the
> answer. In the **good old days** of DOS I would have found the solution with
> very little effort. :-)
Not sure. there's probably some doc on it at www.linuxdoc.org.. also
/usr/doc/bash-vernumber.
>
> 2 - Can you see any reason to put a PATH command in /root/.bashrc where it
> overwrites the default in etc/profile? I suppose I could have added the
> directory I wanted there, but instead I deleted the PATH command so the default
> path from /etc/profile would take effect. It seems to me that the whole point
> of having config files in /etc is to keep them all in one convenient location.
> Only special changes should be done elsewhere.
Usually there's on /root/.bashrc there's a line to add /usr/sbin,/sbin etc
to path. depends on your dist. Try emailing you dist devteam with that.
>
>
> On 23-Nov-2000 Sagi Bashari wrote:
> > Check your ~/.*bash* files. maybe one of them reset PATH.
> > (~/.bashrc, ~/.bash_profile).
> >
> > On Thu, 23 Nov 2000 solomon@barak-online.net wrote:
> >
> >> I already tried that and it didn't work either. I get the same **symptom**.
> >> The
> >> echo command in /etc/profile or /etc/bashrc seem to show that the directory
> >> has
> >> been added to the path, but **echo $PATH** at the prompt shows the path has
> >> not
> >> changed.
> >>
> >> On 23-Nov-2000 Sagi Bashari wrote:
> >> >
> >> > Are you using bash at all?
> >> >
> >> > try adding that line to /etc/bashrc too.
> >> >
> >> >
> >>
> >> //-------------------------
> >> Shlomo Solomon
> >> E-Mail: solomon@barak-online.net
> >> http://come.to/shlomo.solomon
> >> Date: 23-Nov-2000 Time: 20:20:29
> >>
> >> Message sent by XFMail on a LINUX Mandrake 7.2 machine
> >> //-------------------------
> >>
> >> =================================================================
> >> To unsubscribe, send mail to linux-il-request@linux.org.il with
> >> the word "unsubscribe" in the message body, e.g., run the command
> >> echo unsubscribe | mail linux-il-request@linux.org.il
> >>
> >>
> >
> > _
> > ___ __ _ __ _(_) Sagi Bashari
> > (_-</ _` / _` | | - sagi@aresworld.net
> > /__/\__,_\__, |_|
> > |___/
> >
> >
> > =================================================================
> > To unsubscribe, send mail to linux-il-request@linux.org.il with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail linux-il-request@linux.org.il
>
> //-------------------------
> Shlomo Solomon
> E-Mail: solomon@barak-online.net
> http://come.to/shlomo.solomon
> Date: 23-Nov-2000 Time: 21:13:35
>
> Message sent by XFMail on a LINUX Mandrake 7.2 machine
> //-------------------------
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
>
>
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il