Re: [plug] [PLUG] How to add path in bash for Ubuntu

2008-11-27 Thread Ian Dexter R. Marquez
~/.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 `e

Re: [plug] [PLUG] How to add path in bash for Ubuntu

2008-11-26 Thread Renz
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

Re: [plug] [PLUG] How to add path in bash for Ubuntu

2008-11-25 Thread Dong Calmada
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 begin:vcar

Re: [plug] [PLUG] How to add path in bash for Ubuntu

2008-11-24 Thread Gideon N. Guillen
From: "david t. asuncion, jr." <[EMAIL PROTECTED]> Date: 11-25-2008 12:05 >PATH:$PATH:/opt/lampp/bin >export PATH > >Is it at /etc/profile? /etc/bash. bashrc? ~/.bashrc?! It should be "PATH=..." not "PATH:...". The rest is correct. You just have to put it on /etc/profile or ~/.bash_profile .

Re: [plug] [PLUG] How to add path in bash for Ubuntu

2008-11-24 Thread Luisito G. Trinidad
Try sudo PATH=/opt/lampp/bin or sudo /opt/lampp/lampp start sudo /opt/lampp/mysql/bin/mysql -u root On Mon, Nov 24, 2008 at 8:44 PM, John Homer H Alvero <[EMAIL PROTECTED]>wrote: > PATH=$PATH:/opt/lampp/bin > export PATH > > or > > export PATH=$PATH:/opt/lampp/bin > > > >

Re: [plug] [PLUG] How to add path in bash for Ubuntu

2008-11-24 Thread John Homer H Alvero
PATH=$PATH:/opt/lampp/bin export PATH or export PATH=$PATH:/opt/lampp/bin _ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph

Re: [plug] [PLUG] How to add path in bash for Ubuntu

2008-11-24 Thread Louie Miranda
It must be on your home profile. could be any of the two: - ~/.bashrc - ~/.profile LM -- Louie Miranda ([EMAIL PROTECTED]) http://www.louiemiranda.net Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :) On Tue, Nov 25, 2008 at 11:56 AM, david t. asuncion, jr. < [EMAIL PROTEC

[plug] [PLUG] How to add path in bash for Ubuntu

2008-11-24 Thread david t. asuncion, jr.
I am currently toying with xampp on ubuntu intrepid ibex. To be able to execute for example mysqldump, i have to use the following command: $ sudo /opt/lampp/bin/mysqldump Now, I wanted to add the /opt/lampp/bin to bash so that I don't have to type the full path. I have read quite a few how-to'