As for me I added the following line into
$HOME/.bash_profile

export PATH="$PATH:/usr/local/bin:/usr/local/sbin"

It works.








 --- mike <[EMAIL PROTECTED]> wrote: > This does not
work for me, which is not surprising.
> 
> perhaps export PATH=$PATH:/usr/local/BMRT/bin




> better set PATH=$PATH:/usr/local/BMRT/bin
> export PATH
> 
> Further, the PATH statement should be in .bashrc
> (which is dotted into the 
> environment via .bash_profile).  If memory serves
> .bash_profile is for 
> interactive shells and .bashrc is for executive
> shells (dotting .bashrc in 
> allows it to be used for both).  The current
> implementation seems heavy 
> handed, as everything (including a bunch of stuff
> that would only be useful 
> interactively) is set in .bashrc.
> 
> However, as I stated previously, it seems the name

> of the game is to change 
> everything beyond recognition.
> 
> 
> 
> On Monday 25 June 2001 01:08, Praedor S. Tempus
> wrote:
> > Hello.
> > Yes I did do an "export".  It is prepended to the
> path statement in my own
> > .bash_profile AND it is in the path statement in
> /etc/profile.
> >
> > My .bash_profile statement starts:  export
> > PATH=&PATH:/usr/local/BMRT/bin:... etc.  If I do
> this same thing from the
> > commandline, it works and for that session my BMRT
> directory is known. 
> > Reboot and it is lost.  I also tried the path.sh
> trick as described. 
> > Didn't work.  I created the file, made it
> executable, placed it in
> > /etc/profile.d and rebooted.  So...with all the
> following I am still
> > missing my desired additions to my path when I run
> "env":
> >
> > PATH in /etc/profile contains /usr/local/BMRT/bin
> and it starts with
> > "export".  My personal .bash_profile contains the
> same path statement
> > addtion.  And finally, an executable placed in
> /etc/profile.d named
> > "path.sh" with the same path export statement all
> still fail to change my
> > environment. I DON'T UNDERSTAND!
> >
> > Somewhere on this infernal box is a path statement
> which is setting it up
> > for me and all users.  I cannot find it - I would
> like to change it so a
> > few new directories are in the path for all users.
>  It used to be
> > /etc/profile which contained the penultimate path
> statement - but no more. 
> > Apparently, .bash_profile doesn't serve any
> purpose (on my box at least). 
> > I have to manually do an "export <desired path>"
> from a CLI to get it to
> > change but then, it is ONLY for that session.
> >
> > On Sunday 24 June 2001 03:34 pm, you wrote:
> > > On Saturday 23 June 2001 12:05, Alexander Skwar
> wrote:
> > > > So sprach Praedor S.Tempus am Sat, Jun 23,
> 2001 at 09:41:36AM -0600:
> > > > > What is wrong here?  What am I missing? 
> Where is THE penultimate
> > > > > path statement located these days?
> > > >
> > > > The easiest/cleanest solution is to create a
> /etc/profile.d/path.sh,
> > > > which contains your path statement.
> > > >
> > > > Alexander Skwar
> > >
> > > I guess I'm concerned that with this release,
> the quickest cleanest way
> > > to do a lot of things is to deviate from the
> standard.  One of the
> > > strenghts of Linux is that everything is where
> you expect to find it. 
> > > Mandrake changing things around is a bad thing. 
> Linux should be Linux,
> > > if you want to shield the user behind a dummy
> proof screen, cool; but on
> > > the other side of the screen should be the text
> files we have grown to
> > > know and love.
> > >
> > > A possibly silly question for Praedor S.Tempus,
> did you export the PATH?
> > >
> > > mg
> > > '
>  

=====
S.KIEU

_____________________________________________________________________________
http://messenger.yahoo.com.au - Yahoo! Messenger
- Voice chat, mail alerts, stock quotes and favourite news and lots more!

Reply via email to