I am having problems figuring out how my PATH is being set. My understanding is that once per login, the script in .bash_profile is executed. And each time I start another shell, the script file .bashrc is executed.
The following is the contents of my .bash_profile.
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
# User specific environment and startup programs
export USERNAME BASH_ENV PATH
Now when I type echo $PATH I get:
Notice that the last 2 directories are repeated. Why is that?