Setting PATH and other variables
I want to add to my PATH and have added the following lines
first to .bash_profile and then when I couldn't get that to work I add the same lines to etc/profile
After adding the files I open a new terminal session - echo $PATH shows old PATH, so I logged out and back in and got the same results so I rebooted and logged in again. When I edit the files again, the changes are there but still the PATH is the same old stuff. When I do the commands just in a terminal window they work fine.
What am I doing wrong?