buc99
Don't Tread on Me!
From what I gather from the bash man file, .bash_profile is for and interactive login shell and .bashrc is for a non-login interactive shell. I adjusted .bashrc to add to my path and add an alias and opened a new Terminal window and nothing happened. So I put the changes into .bash_profile instead and opened a new Terminal window and the changes took effect. I then started Apples X11 app which opens an xterm. The changes from the .bash_profile file did not take affect. I had to put the same changes in the .bashrc file for them to work in the xterm. So now both my .bash_profile and .bashrc files are exactly the same. This does not make any sense to me. Can someone please explain the differences to me and why Terminal and xterm work differently in this fashion?
Thanks.
SA
Thanks.
SA