bashrc and his friends
I am having some time that whenever I login to the Linux system, .bashrc is not automatically started. Anyway, fixed this morning. The reason is BASH executes ~/.bashrc when you start “an interactive shell that is not a login shell.” When the shell is a login shell, it starts ~/.bash_profile or ~/.profile instead. A terminal window is not a login shell, but apparently the shell started by an SSH login is. so basically simple ass source $HOME/.bashrc to ~/.bash_profile or ~/.profile will work.