~/.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
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
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:vcard
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
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
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 .
6 matches
Mail list logo