5

/etc/bash.bashrc executed but not ~/.bashrc

view full story
linux-howto

http://askubuntu.com – The bash man page says: "When an interactive shell that is not a login shell is started, bash reads and executes commands from /etc/bash.bashrc and ~/.bashrc, " I can see that bash.bashrc is executed because I put echo in it, but .bashrc is not. When I source manually .bashrc, it works fine. I have no .profile john@build8:~$ env TERM=xterm SHELL=/bin/bash SSH_CLIENT=192.168.0.202 45929 22 SSH_TTY=/dev/pts/3 john@build8:~$ ps -o command $$ $PPID COMMAND sshd: john@pts/3 -bash Do you have any idea on what is wrong ?? Thank you. (HowTos)