Re: [newbie] Wherfore art thou $PATH?
You can find some more scripts potentially modifying PATH under /etc/profile.d. On my system, msec.sh and local.sh (the latter modified by me) actually change the PATH. raffaele [EMAIL PROTECTED] wrote: Hello, [EMAIL PROTECTED] fubarski]$ echo $PATH /usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games:/usr/lib/jre-1.4.1_01/bin I don't particularly like the fact that I the // and the :: are a part of $PATH. I can't seem to find where these are inserted, however. I use BASH and I can't find these items in /etc/profile, ~/.bash_profile or ~/.bashrc. As far as my limited knowledge is concerned, /etc/profile is the first file to be considered, and it adds /usr/X11R6/bin, so I guess the question is where is $PATH defined before /etc/profile? I'm using 9.1. With an advance of thanks, James Henry Maiewski 20 Plain Road East South Deerfield, Massachusetts Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Wherfore art thou $PATH?
On Tue, 3 Feb 2004 07:37 am, James Henry Maiewski wrote: Hello, [EMAIL PROTECTED] fubarski]$ echo $PATH /usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games:/usr/lib/ jre-1.4.1_01/bin I don't particularly like the fact that I the // and the :: are a part of $PATH. I can't seem to find where these are inserted, however. I use BASH and I can't find these items in /etc/profile, ~/.bash_profile or ~/.bashrc. As far as my limited knowledge is concerned, /etc/profile is the first file to be considered, and it adds /usr/X11R6/bin, so I guess the question is where is $PATH defined before /etc/profile? I'm using 9.1. With an advance of thanks, James Henry Maiewski 20 Plain Road East South Deerfield, Massachusetts Edit /usr/share/config/kdm/kdmrc as root and remove the extra of both of these if you wish. The :: certainly bring back to the single : Charlie -- Silence is as full of potential wisdom and wit as the unhewn marble of great sculpture. Aldous Huxley This email is guaranteed to be wholly Linux Mandrake 9.2, Kmail v1.5.3 and OpenOffice.org1.1.0 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Wherfore art thou $PATH?
Hello, [EMAIL PROTECTED] fubarski]$ echo $PATH /usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games:/usr/lib/jre-1.4.1_01/bin I don't particularly like the fact that I the // and the :: are a part of $PATH. I can't seem to find where these are inserted, however. I use BASH and I can't find these items in /etc/profile, ~/.bash_profile or ~/.bashrc. As far as my limited knowledge is concerned, /etc/profile is the first file to be considered, and it adds /usr/X11R6/bin, so I guess the question is where is $PATH defined before /etc/profile? I'm using 9.1. With an advance of thanks, James Henry Maiewski 20 Plain Road East South Deerfield, Massachusetts Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com