Answer by oOpSgEo for The $PATH added to .bash_profile is not working after...
Maythux is correct, the variable was declared local, but for it to be seen as a global variable by the system it would have to be exported. if [ -f ~/.bashrc ]; then . ~/.bashrc fi Also works in...
View ArticleAnswer by Maythux for The $PATH added to .bash_profile is not working after...
First Please note that adding envs to the .bash_profile is not a temporary as indicated in other answer, but your problem is adding in non-suitable place since .bash_profile is called when you login...
View ArticleAnswer by Pilot6 for The $PATH added to .bash_profile is not working after...
You can add your PATH to ~/.profile ~./bash_profile does not affect terminal emulators, like gnome-terminal, that are started after you log into system. As an option you can setup PATH in...
View ArticleThe $PATH added to .bash_profile is not working after reboot
I am new to Ubuntu! And I am trying to setup manually Maven by adding Maven directory into $PATH. I created .bash_profile file in my home directory. The file contains this: export...
View Article