Re: PATH problem...
From: Web Surfer (raisin_at_delete-this-trash.mts.net)
Date: 04/28/04
- Next message: Tommy Reynolds: "Re: Can blind people use X-Windows on Redhat?"
- Previous message: Joe: "Can blind people use X-Windows on Redhat?"
- In reply to: Stephane: "PATH problem..."
- Next in thread: Tommy Reynolds: "Re: PATH problem..."
- Reply: Tommy Reynolds: "Re: PATH problem..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Tommy Reynolds: "Re: Can blind people use X-Windows on Redhat?"
- Previous message: Joe: "Can blind people use X-Windows on Redhat?"
- In reply to: Stephane: "PATH problem..."
- Next in thread: Tommy Reynolds: "Re: PATH problem..."
- Reply: Tommy Reynolds: "Re: PATH problem..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|