[CentOS] About GLOBAL vars

John Doe jdmls at yahoo.com
Tue Jan 19 17:38:10 UTC 2010


From: Alberto García Gómez <alberto at ipimtzcm.rimed.cu>
> From: "John Doe" 
>> Add /path/to/bin to the PATH variable.
>> See examples in /etc/profile.d/
>> Thanks friend, but I don't what I supouse to do there...can you give me an 
>> example for this case:
>> # ./path/to/pear/pear
>> as
>> # pear

 Create /etc/profile.d/mypear.sh and put the line:
  export PATH=/path/to/pear:$PATH

JD


      



More information about the CentOS mailing list