Hello guys,
I need to add a folder path to $PATH variable so I googled a bit and I guess I need to update .profile file located on my home folder but I don't have any .profile file, however I have a .bash_profile. Do I have to update that?
If so how? I mean the post I found says
but on .bash_profile I get "
export PATH="/usr/local/bin:/usr/local/mysql/bin:/usr/local/sbin:$PATH"
Do I have to add the new folder within the " or I have to create a new export PATH record?
THANKS and have a nice day!
Sig
I need to add a folder path to $PATH variable so I googled a bit and I guess I need to update .profile file located on my home folder but I don't have any .profile file, however I have a .bash_profile. Do I have to update that?
If so how? I mean the post I found says
For example, to add the directory /mightyq/bin to the PATH shown above, the line could become any of the following examples:
export PATH=/mightyq/bin:/opt/local/bin:/opt/local/sbin:$PATH
export PATH=/opt/local/bin:/mightyq/bin:/opt/local/sbin:$PATH
export PATH=/opt/local/bin:/opt/local/sbin:$PATH:/mightyq/bin
but on .bash_profile I get "
export PATH="/usr/local/bin:/usr/local/mysql/bin:/usr/local/sbin:$PATH"
Do I have to add the new folder within the " or I have to create a new export PATH record?
THANKS and have a nice day!
Sig