views:

29

answers:

2

I added some settings to .bash_profile and closing/opening terminal doesn't seem to have the path's I added there i.e. doing echo $BLAH results in a empty line.

(running the latest version of ubuntu)

do I use .profile instead?

+1  A: 

You might have to add that in the .profile file in your home directory instead of .bash_profile

Once you do that, you will have to either log in again or do this in your terminal:

$> source .profile
naikus
+1  A: 

~/.bash_profile is only sourced on login shells. You may need to alter your ~/.bashrc to get your configuration sourced on other interactive shells.

See the bash man page for more information.

phasetwenty