~/.bash_profile is for login shells (e.g. when you log on at runlevel
3), while ~/.bash_rc is for interactive non-login shells (when opening
up Gnome Terminal, for example). You could enter the path in
~/.bash_rc and source it from ~/.bash_profile.

No need to log off and log on, I believe: just `exec bash`.

HTH.

On Thu, Nov 27, 2008 at 09:10, Renz <[EMAIL PROTECTED]> wrote:
> You can put it in ~/.profile or ~/.bashrc. One thing though, you have to log
> out and log in again for these to take effect.
>
> :D
>
> On Tue, Nov 25, 2008 at 4:24 PM, Dong Calmada <[EMAIL PROTECTED]> wrote:
>>
>> david t. asuncion, jr. wrote:
>> > I have read quite a few how-to's on this but I am perplexed where do I
>> > really have to put these lines...
>> >
>> > PATH:$PATH:/opt/lampp/bin
>> > export PATH
>> >
>> > Is it at /etc/profile? /etc/bash.bashrc?  ~/.bashrc?!
>> >
>> It's in the /etc/environment, AFAIK.
>>
>> Dong
>>
>> _________________________________________________
>> Philippine Linux Users' Group (PLUG) Mailing List
>> http://lists.linux.org.ph/mailman/listinfo/plug
>> Searchable Archives: http://archives.free.net.ph
>
>
>
> --
> "Winners of Cosmic Lottery" - Steven Wienberg
>
> Renz
>
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>



-- 
Ian Dexter R. Marquez
http://feeds.iandexter.net/Coredump
woke up this morning to two kids who snuck up in bed with Peng and me.
Savoring it while thes...
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to