Quantcast
Channel: The $PATH added to .bash_profile is not working after reboot - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4

Answer by oOpSgEo for The $PATH added to .bash_profile is not working after reboot

$
0
0

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 .bash_profile to source $HOME/.bashrc


Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>