Hash: SHA1

This brings me to the maddening thing about linux over the last year or two.  
There used to be two files (as I recall) within which PATH was set:  
/etc/profile and ~/.bash_profile.  Now neither file contains much of anything 
related to setting path.  I have no idea where the bulk of PATH is set now.  
I have looked through /etc/profile, ~/.bash_profile, ~/.bashrc, /etc/bashrc, 
/etc/rc.local, /etc/rc.sysinit.  

I would also like to fix this (checked my 9.2 box and it does have the "::" in 
my path).  Where is path really set?  It is NOT /etc/profile (look at it, 
there is hardly any path info in it at all) nor ~/.bash_profile.


On Monday 17 November 2003 03:18 pm, Jack Coates wrote:
> On Mon, 2003-11-17 at 11:59, Eric Huff wrote:
> > On Mon, 17 Nov 2003 11:31:26 -0800
> >
> > Jack Coates <[EMAIL PROTECTED]> wrote:
> > > [EMAIL PROTECTED] jack]$ echo $PATH
> > > /usr/local/bin/:/home/jack/bin/:/usr/X11R6/lib/xscreensaver/:/sbi
> > > n/:/usr/sbin/:/usr/local/sbin/:/usr//bin:/bin:/usr/bin::/usr/loca
> > > l/bin:/usr/X11R6/bin:/usr/games:/usr/java/j2re1.4.0_01//bin
> > >
> > > that looks okay... but . is effectively in my path!! I discovered
> > > this by doing a tab completion line that matched a script in my ~.
> > > This is with msec level 3
> this .bash_profile is the same on five machines, and the others don't
> have the doubled slashes or the . problem.
> the problem box did not have bash-completion in the RPM list, so I just
> added bash-completion-20030821-3mdk.noarch.rpm and checked that bash is
> at 2.05b-14mdk on several boxes. The double-slashes are now gone, but it
> still includes . in the path.
- -- 
"Events are in the saddle and ride mankind."
- --Ralph Waldo Emerson
Version: GnuPG v1.2.3 (GNU/Linux)


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to