[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Setting Path ENV variable



On 21-Dec-1999 Wayne Topa wrote:
> 
>       Subject: Re: Setting Path ENV variable
>       Date: Sun, Dec 19, 1999 at 09:24:37PM -0800
> 
> In reply to:Andy Thomas
> 
> Quoting Andy Thomas(andyth@postalzone.com):
>>| ok.. I've found the .bashrc in /root and put the path statement into
>>| there.
>>|  Yet is still gives only the standard path (login and type: set).  Are
>>| there multiple places where this needs to be set?
>>| 
>>| The syntax is:
>>| 
>>| PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/x11:/usr/code/c/util:/usr/code/
>>| c
>>| /space:/etc/ppp:/etc/ppp/peers"
> 
> The /etc/profile PATH statement is for everyone.  To add _to_ that
> PATH you should do the following in _your_ .bash_profile
> 
> export PATH="PATH:/usr/local/bin:/usr/bin:/bin:/usr/bin/x11:"

I have this but with PATH="$PATH:/usr/etc....."
Should I remove the "$"?

--
Andrew


Reply to: