.bash_profile vs .bashrc
What’s the difference between .bashrc, .bash_profile, and .environment?
FreeBSD: $ strings /usr/local/bin/bash | grep profile noprofile /etc/profile ~/.profile ~/.bash_profile $ strings /usr/local/bin/bash | grep bashrc ~/.bashrc
if [ "$PS1" ]; then if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then if [ -f /usr/local/etc/bash.bashrc ]; then . /usr/local/etc/bash.bashrc fi fi fi
Pingback: Interactive vs. Login Shell | Andreas' Blog