我打算在我的计算机上设置mySQl的路径(我正在运行雪豹),但我在网上看到了不同的说明。
有人说要修改.profile文件,有人说要修改.bash_profile文件。有什么关系?
发布于 2011-07-20 01:25:32
.profile可以与sh或bash一起使用。但是,.bash_profile是特定于.profile的,如果存在的话,它将覆盖bash。
发布于 2011-09-11 13:07:06
我相信mac环境会按顺序检查.bash_profile、.bash_login、.profile。它将运行层次结构中最高的一个,因此,如果您有.bash_profile,它将不会检查.profile。
https://stackoverflow.com/questions/6751252
复制相似问题