I believe that every developers has seen that _$ xxx command not found_, and we all found solution by $ source ~/.profile , or $ source ~/.bash_profile, this is a note to make things clear of those file.

. ~/.profile. ~/.bashrc

Reference:

http://stefaanlippens.net/bashrc_and_others/

https://stackoverflow.com/questions/18791486/differences-uses-and-similarities-between-bashrc-bash-profile-and-etc-profil