Custom Search

Dec 14, 2011

Linux Tips: source .bashrc at login

terminal
 
If .bashrc is not sourced when you log in using SSH, you need to source it in your .bash_profile like this:

if [ -f ~/.bashrc ]; then
  . ~/.bashrc
fi

 
Additional information can be found here:
 
Configuring your login sessions with dot files
.bashrc at ssh login

No comments:

Post a Comment