bash on login.
Pollywog
lists-fbsd at shadypond.com
Thu Sep 6 08:39:04 PDT 2007
On Thursday 06 September 2007 15:06:02 Albert Shih wrote:
> Hi all
>
> I'm using bash for standard shell, what I don't understand is when I'm
> connect by ssh on my server the bash don't parse .bashrc file.
>
> But if in the bash session I type «bash» this time the .bashrc is use.
>
> How can I make the .bashrc file is read when I connect by ssh ?
I source it in ~/.bash_profile:
# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
More information about the freebsd-questions
mailing list