bash startup scripts - what is an interactive login ??

2005-07-12 Thread Mark D. Hansen
Can anyone clarify for me when the ~/.bash_rc and /etc/bash.bashrc scripts get sourced? I read from the man and googling that it is only when an interactive login shell is created, but what does that mean? If I create a new xterm do these scripts get sourced or is it only if I do an rlogin,

Re: bash startup scripts - what is an interactive login ??

2005-07-12 Thread Chris F.A. Johnson
On 2005-07-12, Mark D. Hansen wrote: Can anyone clarify for me when the ~/.bash_rc and /etc/bash.bashrc scripts get sourced? ~/.bash_rc is not a standard file; do you mean ~/.bashrc? /etc/bash.bashrc is usually sourced in /etc/profile. Both files can be sourced any time you

Re: bash startup scripts - what is an interactive login ??

2005-07-12 Thread Andrew Schulman
Can anyone clarify for me when the ~/.bash_rc and /etc/bash.bashrc scripts get sourced? I read from the man and googling that it is only when an interactive login shell is created, but what does that mean? If I create a new xterm do these scripts get sourced or is it only if I do an

Re: bash startup scripts - what is an interactive login ??

2005-07-12 Thread Bob Proulx
Chris F.A. Johnson wrote: Mark D. Hansen wrote: Can anyone clarify for me when the ~/.bash_rc and /etc/bash.bashrc scripts get sourced? ~/.bash_rc is not a standard file; do you mean ~/.bashrc? I am sure that is the case. /etc/bash.bashrc is usually sourced in /etc/profile.