Colin Watson wrote:
Ordinary logins are login shells; xterms are non-login shells by default. See the INVOCATION section of the bash(1) man page for details. I usually put '. ~/.bashrc' in ~/.bash_profile, but this depends on the complexity of your shell startup files.
yes. it worked. sorry - i missed out on .bash_profile part in man bash thanx for your help -sandip