Re: PATH problem...

From: Web Surfer (raisin_at_delete-this-trash.mts.net)
Date: 04/28/04


Date: Wed, 28 Apr 2004 09:59:19 -0500


[This followup was posted to linux.redhat]

In article <HITEF465EA27@hitex.co.uk>, mx21725@libertysurf.fr says...
> Hello,
>
> I am not sure how to manage correctly the PATH,..
>
> When you need to add the path, you just write the command lime :
> PATH$=PATH$:/home/.../ (or something like that)

PATH=$PATH:/home/whatever

>
> Now, how can see all the paths that the machine will consider ?
>

echo $PATH | perl -e 'print join("\n",split(/:/,<STDIN>));'

> 2) if I have 2 different installations of GCC (v 2.9 and v 3.4)
> Is there a way to add the path of one of them and another day, to remove it
> and add the path of the other one ??

You could always create an alias that refers to the specific version
that you want to use and just change the alias whenever you want to use
the other version

>
> Thanks for your help
>
> Stephane



Relevant Pages

  • Re: Fringe - Stowaway - Spoilers
    ... Broyles from our dimension went through the same implanted memories ... that it refers to either Alias or Lost. ...
    (rec.arts.sf.tv)
  • Re: "SRC=69.28.159."
    ... With thanks to all, here is a followup. ... This is a line of HTML code that calls the traffic from one page that I ... zedo.llnwd.net is an alias for zedo.vo.llnwd.net. ... I still do not know why the traffic is being blocked at the firewall or ...
    (comp.os.linux.security)
  • Re: reading a declaration
    ... "ref is a reference to int that refers to (is an alias name for) x". ...
    (comp.lang.cpp)
  • Re: Addressing the last element of a list
    ... now both a and b refers to the same object. ... > So there is no way in Python to make an alias for an object? ... Prev by Date: ...
    (comp.lang.python)