Snow Leopard中.profile和.bash_profile的区别
我将在我的电脑上设置mySQl的path(我正在运行Snow Leopard),但是我在网上看到了不同的说明。
有人说改变.profile文件,有人说改变.bash_profile文件。 有什么不同?
 .profile适用于sh或bash 。 但.bash_profile是特定于bash的,如果存在,它将覆盖.profile 。 
 我相信,Mac OS X环境按此顺序检查.bash_profile , .bash_login , .profile 。 它将运行在层次结构中最高的位置,因此,如果您具有.bash_profile ,则不会检查.profile 。