[ale] bash path problems

James Sumners james.sumners at gmail.com
Thu Jul 19 13:32:38 EDT 2007


In other words...

~/.bashrc:

     PATH=/usr/bin:$PATH
     export $PATH

On 7/19/07, Jeff Lightner <jlightner at water.com> wrote:
> Are you saying you can't edit /etc/bashrc or /etc/profile?  That would
> seem to be the way to do it.
>
> Of course you can always override the default PATH from those files by
> doing PATH=whatever at the command line or in your $HOME/.bashrc or
> $HOME/.profile.
>
> Just don't do "PATH=$PATH:whatever" as that tells it to append whatever
> to the END of the existing PATH meaning it will continue to use the one
> from /etc/bashrc or profile.
>
> -----Original Message-----
> From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
> Jeffrey B. Layton
> Sent: Thursday, July 19, 2007 1:22 PM
> To: ale at ale.org
> Subject: [ale] bash path problems
>
> Afternoon,
>
> I hate to bother everyone, but I'm having bash path
> problems. I want /usr/bin to be before /usr/local/bin,
> but it's always the opposite. I even moved all of .bash*
> files to a different directory and I still get /usr/local/bin
> before /usr/bin. So it mush be in the system files
> (/etc/bashrc, /etc/profile). Does anyone have any
> suggestions on how to do this? It should be easy, but
> I'm missing it.
>
> TIA!
>
> Jeff
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>


-- 
James Sumners
http://james.roomfullofmirrors.com/

"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)
CH:D 59



More information about the Ale mailing list